Dear All,

How can i change the dtPicker style to 2D i.e what i want i want to have dtpicker in my textbox when i click in text box then the dtpicker should open how to achieve this please help me if it is possible in VB.NET.

Thanks in advance.

Unhnd_Exception commented: Post a thread. Respond when people help you. -2

Recommended Answers

All 2 Replies

You can use a textBox, so when there is no focus on it, it will remain as textBox (it will look like it). When use clicks on this textBox, then create a new DTP (on the same position as this textBox), create over it (so textBox will be bellow DTP).
When clicks on some other control, DTP looses cofus, so then you can remove DPT form controls, so there will be only (again) a textBox shown (with the date stirng inside).

First of all why you need an additional textbox control on the form when you already have the Dt Picker in place.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.