is this not possible?
Blitz3D Forums/Blitz3D Beginners Area/is this not possible?
| ||
While Not KeyHit(1) Select EventID() Case $803 Exit End Select Wend End Is this not possible in anyway, cause I need to use the GUI and when their done switch to Graphic mode, how should i do this? |
| ||
..put a waitevent() in the while/wend loop .. |
| ||
tryed this but it doesnt work :| Select WaitEvent() Case EventID() = $803 End End Select |
| ||
While Not KeyHit(1) While WaitEvent() EvID=EventID() Select EvID Case $803 End End Select Wend Wend two loop is that legal? |
| ||
this code always works for me:quit=False Repeat WaitEvent() If EventID()=$803 ; If EventSource()=MyWindow quit=True ; End If EndIf Until quit ; here you can proceed other loops or parts.. Keep things simple. I *always* use the above mechanism. |
| ||
its pretty nice I love it, thanks CS |