AsynchGui

Improve form appearance for applications using widgets with large ValRep lists.

AsynchGui=0 | 1 |2

Arguments

Value Setup Description
0 Off Neither message yielding nor message flushing is enabled.
1 Standard Enable message yielding. Uniface dispatches instructions to Windows only when Uniface is idle.
2 Flush Enable message flushing. Uniface only dispatches paint instructions to Windows. All user input messages remain on the queue until Uniface is idle.
Default value: 0
File section: [upi]

Description

When set to 1 (Standard) or 2 ( Flush), the AsynchGui setting improves form appearance for applications using widgets with large ValRep lists, such as the tree widget list view. The default value is 0 (Off).

Flush

In some situations, it is necessary to flush the Windows message queue at the end of a form update, or when calling the show statement. The Flush option can be used to immediately see updates on a form during ProcScript execution. The update can be forced with a show statement.

Be aware of the following side effects:

  • In rare cases, drawing a form might leave gray areas; these can be removed by resizing the form or clicking on the form.
  • Restoring a maximized form may not redraw obscured.

Note:  When using the Flush option, check that the application is still displayed correctly before releasing the application.

Related Topics