Was this helpful?
OnFileClose Method
The OnFileClose method checks for unsaved changes made in the edit control.
This method has the following syntax:
integer = Edit_Object.OnFileClose()
The OnFileClose method returns ER_OK if the close operation can proceed; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.
This method should be called for the File Close, File Exit, and the WindowClose events.
Last modified date: 12/20/2023