Loading, Saving and Database Support

Properties

Property Description
TXTextControl.DataText The DataText property is used internally by Visual Basic when a Text Control is used as a bound control.
TXTextControl.DataTextFormat When using a Text Control as a bound control, this property specifies if the data which is exchanged with a database is text or binary data.
TXTextControl.Device This property returns or sets the device for which the current Text Control document is formatted.
TXTextControl.LoadSaveAttribute This property enables an application to specify several attributes that can be used in combination with the Load and Save methods for the following situations: 1.
TXTextControl.RTFSelText This property works much like the standard SelText property.
TXTextControl.Text Returns or sets the complete text of a Text Control.

Methods

Method Description
TXTextControl.Append Appends text in a certain format from a file and inserts it at the end of the current document.
TXTextControl.AppendFromMemory Appends text in a certain format from a buffer and inserts it at the end of the current document.
TXTextControl.Load Loads text in a certain format from a file and inserts it into the Text Control.
TXTextControl.LoadDialog Opens the system 'Open' dialogbox and loads a document as specified.
TXTextControl.LoadFromMemory Loads text in a certain format from a buffer and inserts it into the Text Control.
TXTextControl.ResetContents Deletes the complete contents of a Text Control including tables, objects, marked text fields and headers and footers.
TXTextControl.Save Saves data in a file with a specified format.
TXTextControl.SaveDialog Opens the system 'Save As' dialogbox and saves a document as specified.
TXTextControl.SaveToMemory Returns a one-dimensional byte array containing text data in a specified format.
TXTextControl.SaveToMemoryBuffer Returns a buffer containing text data in a specified format.

Events

Event Description
TXTextControl.Change Indicates that the contents of a Text Control have changed.