method Edit.LoadFromUnicode (FileName as String)
Loads from an UNICODE file.
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 LoadFromUnicode method to load UNICODE text. Use the
Load
method to load the control's text from a file ( ANSI file ). 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.
Send comments on this topic.
© 1999-2010
Exontrol.COM, Software
. All rights reserved.