Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Close - method of object PmForm

Description:
Close form viewer.
Syntax:
Close(sReason As String)
Calling:
oForm.Close(sReason)
Parameters:
sReason(String) Identifier of form viewer closing method. This identifier is then available in the oSystem.CloseReason property in oExtra.onClose action.
Note:
The method can also be called in the graphic item events for Web Panels.
 
This method is relevant especially if the user wants to have own button (PmFormItemButton) that closes the viewer with individual identifier. Normally it is not necessary to use this method because the viewer can be closed by system buttons - see SysButtons property.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice