SUPPRESS-CLOSE-EVENT

Determines whether or not the Close Event will be suppressed for the dialog element. If it is suppressed, the event handler will not get control when the corresponding OLE server application is about to be terminated or when the dialog bar or tool bar control is hidden by the user via the close button (both whilst floated and, for dialog bars, when in docked state).

Applies to Dialog bar control, OLE container control, tool bar control.
Data Type I4
Default Value 0 (NOT-SUPPRESSED)
Possible Values 0 (NOT-SUPPRESSED) / 1 (SUPPRESSED)

Note:
You can use the symbols SUPPRESSED and NOT-SUPPRESSED defined in the local data area NGULKEY1. NGULKEY1 is automatically included in your application.