Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date picker checkbox question 1

Status
Not open for further replies.

GAORR

Programmer
Nov 22, 2001
48
CA
I am using a 'dtpicker' control with the checkbox shown (set to true). When the app is run, can the form be shown with the checkbox of the dtpicker 'unchecked'.

Thanks for your help.
 
No, that doesn't work - setting the 'value' sets the dtpicker to a date ie: '1' sets it to it earliest alowable date.
Also, setting the 'checkbox' to true shows the checkbox with the dtpicker, false does not show it.

Anyone else?
 
I have found the answer - dtpicker.value = Empty will uncheck the checkbox. Since it is not checked, the control is disabled - checking it enables the control.
 

Thread deserves a bump as I've just spent hours looking for this seemingly undocumented function!
 
Thanks, that's nice to know.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top