ENTRY OnCloseHI (BOOL _bClose) ; script actions END OnCloseHI |
_bClose | Required input-output parameter of BOOL type. |
; evet handler: Attempt to close HI ENTRY OnCloseHI (BOOL _bClose) _bClose := @FALSE ; refusing to close HI END OnCloseHI |
A HI process with an OnCloseHI event handler defined in this way cannot be closed.
The OnCloseHI event should be defined in only one of the currently opened pictures in HI. If more than one such event is defined, none of them will be executed, and HI will be closed in the standard manner—that is, as if no OnCloseHI event had been defined.
The presence of multiple pictures with a defined OnCloseHI event handler is indicated to the user via an error dialog.