# Data Types

> Size and range of the Byte, Boolean, Date, Integer, Long, Handle, String and Variant data types that the TX Text Control ActiveX reference uses.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > API Reference > Data Types
- **269 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/data-types/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/data-types/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/data-types/llms-full.txt

---

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. |

### Related Pages

- [API Reference](https://docs.textcontrol.com/tx-text-control-activex/reference/llms-full.txt): the controls and objects of TX Text Control ActiveX and their members.
- [Programming Categories](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/llms-full.txt): the members of `TXTextControl` sorted by task.

---

## Nearby

- **Previous:** [Server Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/server/llms-full.txt)
- **Next:** [Mouse and Keyboard Assignment](https://docs.textcontrol.com/tx-text-control-activex/reference/assignments/llms-full.txt)
