WdgModal

"Modality" of a window. Indicates whether the window is modal or non-modal.

Valid Values

An integer code, as shown in the table below:

Code

Meaning

0

(DEFAULT) Non-modal

1

Modal

 

Remarks

If this field is set to 1, the application user is restricted to interacting with this window whenever it becomes the current window. Until the modal window is no longer current, the application user cannot interact with other windows in the application.

Text-class windows are always modal.