Data Types
Eight data types describe the values of properties and the parameters of methods and events in the TX Text Control ActiveX reference. The table below gives the size and range of each one, so that you can choose matching variables in your code.
Data Types in the Reference
| Data type | Description |
|---|---|
Byte | A one-byte value with the range 0 to 255. |
Boolean | A two-byte value that can be True or False. |
Date | Eight bytes that represent a date and a time. |
Integer | A two-byte value with the range -32,768 to 32,767. |
Long | A four-byte value with the range -2,147,483,648 to 2,147,483,647. |
Handle | A four-byte value with the range 0 to 4,294,967,295. |
String | A length-prefixed string of unlimited size. |
Variant | Any of the data types above, including arrays of these types. |