fgl_eventloop()
Waits for a user interaction event.
Syntax
fgl_eventloop()
RETURNS BOOLEAN
Usage
The fgl_eventloop() function is used to implement the parallel dialog main event
loop, in conjunction with START DIALOG / TERMINATE DIALOG
instructions, used to register and end parallel dialogs.
The function waits until a user interaction event occurs and returns TRUE or
FALSE to indicate if the event loop must continue or stop. It is typically
used in a WHILE / END WHILE loop:
WHILE fgl_eventLoop()
END WHILE
Parallel dialogs are registered with the START DIALOG instruction. As long as
at least one parallel dialog is registered, the fgl_eventloop() function returns
TRUE. When the last parallel dialog is ended with a TERMINATE
DIALOG instruction, the fgl_eventloop() function returns
FALSE and the even loop is stopped.