Quote from
Peter on August 5, 2019, 3:21 pm
Thanks!
I've found the problem. It was not the delay command, but the following in a While-EndWhile loop:
While [count] < 9
.....
While [mehet] != "tovabb"
ShowObject "nyomogomb" "" 0
EndWhile
HideObject "nyomogomb" "" 0
SetVar [mehet] ""
....
SetVar [count] [count]+1
EndWhile
When user pushes the button, SetVar [mehet] "tovabb".
Here I wanted to wait until user pushes the button "nyomogomb". Is it any solution to wait for a "button-push" in a loop? Thanks.
Thanks!
I've found the problem. It was not the delay command, but the following in a While-EndWhile loop:
While [count] < 9
.....
While [mehet] != "tovabb"
ShowObject "nyomogomb" "" 0
EndWhile
HideObject "nyomogomb" "" 0
SetVar [mehet] ""
....
SetVar [count] [count]+1
EndWhile
When user pushes the button, SetVar [mehet] "tovabb".
Here I wanted to wait until user pushes the button "nyomogomb". Is it any solution to wait for a "button-push" in a loop? Thanks.