boltc Posted November 2, 2005 Posted November 2, 2005 $test_button = GuiCtrlCreateButton ("test button", 301,196,48,20) While 1 $msg = GUIGetMsg() Case $msg = $test_button $test = MsgBox(4, "test", "yes or no?") Select Case $test = 7 <<<<<<<<<<<HERE>>>>>>>>>> Case $test = 6 MsgBox(0, "", "you dit pick yes") EndSelect Case $no MsgBox(0, "", "bye bye") i want this: when someone hit the button "no" then i want that the script continue's with the 'case $no', what do i need to write to: <<<<<<<<<<<HERE>>>>>>>>>> (sorry for my bad english)
boltc Posted November 2, 2005 Author Posted November 2, 2005 (edited) it works already... i did this: $test_button = GuiCtrlCreateButton ("test button", 301,196,48,20) global $no While 1 $msg = GUIGetMsg() Select Case $msg = $test_button $test = MsgBox(4, "test", "yes or no?") Select Case $test = 7 $no = MsgBox(0, "", "continue with NO") Case $test = 6 MsgBox(0, "", "you dit pick yes") EndSelect Case $no MsgBox(0, "", "bye bye") EndSelect WEnd Edited November 2, 2005 by boltc
boltc Posted November 2, 2005 Author Posted November 2, 2005 but now is the question this: how can i remove the msgbox.. MsgBox(0, "", "continue with NO") ??
boltc Posted November 2, 2005 Author Posted November 2, 2005 and again fixed.. i changed: MsgBox(0, "", "continue with NO") to: $test123 = 1
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