08-29-2005, 08:38 PM
Ok, answer is prolly wery simple.
I have GetMouse in my main loop of program.
works fine, but i have this code below on my Menu Sub.
and when GetOut = 1 then loop on sub ends and it returns to main loop of program.
This works fine, except it works way too fast. After pressing mouse button (2) at main loop, sub Menu just flashes and program goes back to main loop.
I did try to add sleep there to wait a while so i have time to get my finger out of button but it didnt help.
I have GetMouse in my main loop of program.
Code:
IF MX > 0 AND ( MB ) AND 2 Then Call Menu
works fine, but i have this code below on my Menu Sub.
Code:
IF MX > 0 AND ( MB ) AND 2 Then GetOut = 1
This works fine, except it works way too fast. After pressing mouse button (2) at main loop, sub Menu just flashes and program goes back to main loop.
I did try to add sleep there to wait a while so i have time to get my finger out of button but it didnt help.
url=http://www.ascii-world.com]ASCII-World.com[/url]
Yeah, nick changed from lurah, but bullshit's are the same.
Yeah, nick changed from lurah, but bullshit's are the same.