Rad Posted August 23, 2006 Share Posted August 23, 2006 $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... What do I do? Helpfile isnt very helpful for this! Link to comment Share on other sites More sharing options...
Marc Posted August 23, 2006 Share Posted August 23, 2006 (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 August 23, 2006 by Marc Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
Rad Posted August 23, 2006 Author Share Posted August 23, 2006 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now