XTPGridEditStyle Enumeration
Description
Grid cell edit styles.
Members
| Member | Description |
|---|---|
| xtpEditStyleMultiline | Designates a multiline edit control. The default is single-line edit control. |
| xtpEditStyleAutoVScroll | Automatically scrolls text up one page when the user presses the ENTER key on the last line. |
| xtpEditStyleAutoHScroll | Automatically scrolls text to the right by 10 characters when the user types a character at the end of the line. When the user presses the ENTER key, the control scrolls all text back to position zero. |
| xtpEditStyleUppercase | Converts all characters to uppercase as they are typed into the edit control. |
| xtpEditStyleLowercase | Converts all characters to lowercase as they are typed into the edit control. |
| xtpEditStyleNumber | Allows only digits to be entered into the edit control. Note that, even with this set, it is still possible to paste non-digits into the edit control. |
| xtpEditStyleReadOnly | Prevents the user from entering or editing text in the edit control. |
Remarks
Each individual GridRecordItem has an EditOptions property that uses the XTPGridEditStyle flags to specify the edit style for the cell. Any combination of the edit styles can be used.
To apply XTPGridEditStyle flags to an entire column, use the Column EditOptions property.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.