EVENT Refresh ( ) AS BooleanThis event is raised at the end of the event loop.
Refresh can be cancelled with STOP EVENT. If event isn't cancelled, the screen will be refreshed like with Screen.Refresh().
Of course framerate limitation will be used too.
PUBLIC SUB Screen_Refresh() IF (noRefresh = TRUE) THEN STOP EVENT ' do the draws END