Sign in to follow this  
Followers 0
Rad

GUICtrlCreateDate ( "", 76, 5, 100, 20, $DTS_TIMEFORMAT)

3 posts in this topic

$TimeCombo=GUICtrlCreateDate ( "", 76, 5, 100, 20, $DTS_TIMEFORMAT) 
msgbox(0,"",GUICtrlRead($TimeCombo))
GUICtrlSetData($TimeCombo,"12:00:00PM")
GUICtrlSetData($TimeCombo,"12:00:00")
GUICtrlSetData($TimeCombo,"120000  PM")
GUICtrlSetData($TimeCombo,"120000")
msgbox(0,"",GUICtrlRead($TimeCombo))

None of this makes my little clock selector change to noon... :P What do I do? Helpfile isnt very helpful for this!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi,

since it is a Date-Control, it requires a complete date...

Try

GUICtrlSetData($n,"2006-05-12 12:00:00")

This will change the time to 12:00:00.

Best regards

Marc

Edited by Marc

It's my job to comfort the disturbed and to disturb the comfortable.

Share this post


Link to post
Share on other sites

Oh thanks, I already scrapped it and just had it so I edit to change the time... not a big deal though, was just a small program for a friend and he needed it at noon. If he changes his mind Ill be sure to do that though, thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0