FutureBasic Logo

<<    Index    >> FutureBasic

HandleEvents   statement



Syntax
HandleEvents

Overview
HandleEvents calls [NSApp run] to start the app and monitor events via the Objective-C/Cocoa runtime. Once the Cocoa runtime/event monitoring is initiated, HandleEvents ends (but the runloop it initiated continues on!); the runloop (i.e. Cocoa runtime) now traps all your app's events invisibly and sends them to your app for consideration.

Where to put it and how often to execute it

See also
on appevent; on dialog; on menu; Appendix N: Events