# ATTR_DATA_TYPE (Control)

Type: | Control attribute
Description: | The data type of the control. When used on a table, it refers to the default state of new cells when ATTR_TABLE_MODE is set to VAL_GRID.
Control Types: | Binary switches, list boxes, numerics, picture rings, rings, numeric slides, ring slides, tables, trees.
Data Type: | integer
Default Value: | VAL_DOUBLE (numerics/tables), VAL_INTEGER (binary switches/rings/list boxes/trees)

Values

VAL_CHAR | A single byte character.
VAL_INTEGER | A 4 byte integer.
VAL_SHORT_INTEGER | A 2 byte integer.
VAL_FLOAT | A 4 byte floating point value.
VAL_DOUBLE | An 8 byte floating point value.
VAL_STRING | A character array. Not valid for numeric, graph or table controls.
VAL_UNSIGNED_CHAR | An unsigned single byte character.
VAL_UNSIGNED_SHORT_INTEGER | An unsigned 2 byte integer.
VAL_UNSIGNED_INTEGER | An unsigned 4 byte integer.