Opens the system 'Open' dialogbox and loads a document as specified.
Introduced: 31.0.
TXTextControl.LoadDialog Filters[, CurSelection]
Parameter | Description | ||||||||||||||||||||||||||||||||||||||||
Filters |
Defines the filters which the dialog box offers to select a file format. The values listed below can be added to set more than one filter:
|
||||||||||||||||||||||||||||||||||||||||
CurSelection |
Optional. When set to true the loaded data replaces the current selection or is inserted at the current input position. The new input position is behind the inserted data. When omitted or set to false the loaded data replaces the complete control contents independent of the current selection. The new input position is at the beginning of the data. |
This method has no return value.
Filters: | Long |
CurSelection: | Boolean |
Needs at least Windows Vista.
<< TXTextControl.Load Method | >> TXTextControl.LoadFromMemory Method