TX Text Control ActiveX

Relating Data to a Marked Text Field

Topic

A marked text field can carry data of its own that users never see: a database field name or any other string or number your application needs. TXTextControl stores it for each field through the FieldData property, which takes the field's identifier.

What the Data Can Be

  • Strings and numbers. FieldData accepts both.
  • One value per field. Setting new data overwrites all data set before, whatever its kind.
  • Separate from the text. Setting or reading the data does not change the text the field shows.
  • Kept with the field. When a field is copied through the clipboard or saved to a file, its data is copied or saved with it.