Flush
Flush()
Forces an update of any controls that the event handler has modified
Applies to: Form
This method is used to force an update of any controls that the event handler has modified. Normally when the properties of a control are changed within an event handler the actual change is not made until the event handler has finished. This is not always desirable as the event may need to constantly update controls on the form while it is processing. For example:
-DEFEVENT Form1.ProcessData() WHILE (Count++ < 100) DO 'ProcessRecords() .gaugeControl1.Position = Count .form.Flush() WEND END EVENT