Desktop Application Object - DisableProcessGhosting Method

Prevent Windows from replacing a busy form

Member of Desktop Application Object (PRIM_APPL)

Details

During long running processes, Windows replaces the busy form with a different instance so that the form can still be moved. The original instance is restored when the process completes.
 
As this form is new instance using a new Handle, the LANSA runtime is effectively disconnected from the UI until the process has completed. This prevents updates to the UI using UpdateDisplay from working correctly.
 
If DisableProcessGhosting is set to True, the form instance is never replaced and the UI can update as required.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2