Jump to content

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


Rad
 Share

Recommended Posts

$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!

Link to comment
Share on other sites

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...