| Type: | Control attribute |
| Description: | The maximum length of the value, in bytes, that can be entered into a string or text box control. If you want to restrict the string or text box control to a specific number of characters, you should use ATTR_MAX_ENTRY_CHARS. If you use both attributes, CVI applies the more restrictive of the two values.
When used on a table, it refers to the default state of new cells when ATTR_TABLE_MODE is set to VAL_GRID. A (-1) value means no limit. |
| Control Types: | Strings, tables, text boxes. |
| Data Type: | integer |
| Valid Range: | -1 or greater |
| Default Value: | -1 |