Link to home
Start Free TrialLog in
Avatar of IssacJones
IssacJones

asked on

placing a label on top of a DateTimePicker

Hi

I want to initially have the text "Select" in a DataTimePicker. The only way I can think to do this is to place a label in the text(date) area of the DateTimePicker.

Suppose the DateTimePicker is called Me.dtpDate and the label is called Me.lblSelect. How can I re-size and place the label on top of the DateTimePicker so it covers the edit area of the DateTimePicker but still shows the drop down arrow of the DateTimePicker?

Example code would be most appreciated.

Issac
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Try using the design surface for experimenting with the size.
Avatar of IssacJones
IssacJones

ASKER

design surface?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial