Jump to content

Need help time- based event


 Share

Recommended Posts

Yea, but i did that you can fill it in in a Dialogue

$InstellenUurMinuut = GUICreate("Instellen Uur & Minuut", 282, 216, 279, 195)
GUICtrlCreateInput("Vul hier uur in", 32, 48, 161, 21, BitOR($ES_AUTOHSCROLL,$ES_NUMBER))
GUICtrlCreateInput("Vul hier de minuut in", 32, 120, 161, 21, BitOR($ES_AUTOHSCROLL,$ES_NUMBER))
$BeginUur = GUICtrlCreateLabel("Begin Uur", 32, 16, 51, 17)
$BeginMinuut = GUICtrlCreateLabel("Begin Minuut", 32, 88, 66, 17)
$Start = GUICtrlCreateButton("Start", 32, 160, 57, 33, 0)
$Cancel = GUICtrlCreateButton("Cancel", 136, 160, 57, 33, 0)
GUISetState(@SW_SHOW)

And under that just something what he does

I am not English... But that matters nothing, I'm Dutch and i SPEAK English so it doesnt matter :P

Link to comment
Share on other sites

Well of course, that was my point... I wanted to make sure he's declaring or changing the values of $hour and $min before testing them...

Sorry.

I would just echo everything out before the condition is tested, to make sure the conditions match:

MsgBox(0,"", "$hour: " & $hour & @CRLF & "$min: " & $min & @CRLF & @HOUR & @CRLF & @MIN)
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...