ATTR_TEXT_SELECTION_LENGTH

Type: Control attribute
Description: The number of bytes in the text currently selected in the control. If no text is selected, the value is zero.

When used on a table, and the table is in edit state, this attribute refers to the cell being edited.

Control Types: Strings, tables, text boxes.
Data Type: integer
Valid Range: 0 or greater