Language Reference Guide : C. Generated User Classes : Edit_Object User Class : OnFileOpen Method
 
Share this page                  
OnFileOpen Method
The OnFileOpen method checks for unsaved changes, and loads a new file into the edit control.
This method has the following syntax:
integer = Edit_Object.OnFileOpen([editfile = varchar(257)
          default null])
This method has the following parameter:
editfile
Specifies the file to open
If a file is not supplied, this method prompts for a file name through a standard File Open dialog.