sReason | (String) Identifier of form viewer closing method. This identifier is then available: - if viewer was opened by the Pm.CreateView method: in the ev.CloseReason property in the onClose event. - (obsolete) if viewer was opened by the OpenView method: in the oSystem.CloseReason property in the oExtra.onClose event. |
---|
Normally it is not necessary to use this method because the viewer can be closed by system buttons - see SysButtons property.
oForm.Close("ok");