Type | Description | |||
FileName as String | A string expression that specifies the file being loaded. If the FileName parameter is empty, the control uses the FileName property to specify the file being loaded. |
Use the Load method to load the control's text from a file ( ANSI file ). Use the LoadFromUnicode method to load UNICODE text. If the file doesn't exist no errors occur. Use the FileName property to get the name of the file being loaded or saved. Use the Text property to access the control's text. Use the Save/SaveAsUnicode method to save the control's text to a file. The Load method changes the FileName property. If the AllowMark property is True, the control could load the text slowly, because each line requires to be parsed in order to find the expression to be highlighted on the control's vertical scroll bar, so we would suggest to use this option only before you check the time to load the file using this option.