The following table shows the constants for the CellAlignment property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexAlignLeftTop | 0 | Left top |
| flexAlignLeftCenter | 1 | Left center (default for strings) |
| flexAlignLeftBottom | 2 | Left bottom |
| flexAlignCenterTop | 3 | Center top |
| flexAlignCenterCenter | 4 | Center center |
| flexAlignCenterBottom | 5 | Center bottom |
| flexAlignRightTop | 6 | Right top |
| flexAlignRightCenter | 7 | Right center (default for numbers) |
| flexAlignRightBottom | 8 | Right bottom |
| flexAlignGeneral | 9 | General |
The following table shows the constants for the CellTextStyle and TextStyle properties. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexTextFlat | 0 | Regular text |
| flexTextRaised | 1 | Text appears raised |
| flexTextInset | 2 | Text appears inset |
| flexTextRaisedLight | 3 | Text appears slightly raised |
| flexTextInsetLight | 4 | Text appears slightly inset |
The following table shows the constants for the ColAlignment property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexAlignCenter | 2 | Center data in column |
| flexAlignLeft | 0 | Left-align data in column |
| flexAlignRight | 1 | Right-align data in column |
The following table shows the constants for the FillStyle property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexFillSingle | 0 | Changing the setting for the Text property affects only the active cell. |
| flexFillRepeat | 1 | Changing the setting for the Text property affects all selected cells. |
The following table shows the constants for the FocusRect property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexFocusNone | 0 | No focus rectangle around current cell. |
| flexFocusLight | 1 | Default. Light focus rectangle around current cell. |
| flexFocusHeavy | 2 | Heavy focus rectangle around current cell. |
The following table shows the constants for the GridLines property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexGridNone | 0 | Default for GridLines. No lines between cells. |
| flexGridFlat | 1 | Sets line style between cells to normal lines. |
| flexGridInset | 2 | Sets line style between cells to inset lines. |
The following table shows the constants for the HighLight property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexHighlightNever | 0 | Selected cells are never highlighted. |
| flexHighlightAlways | 1 | Default. Selected cells are always highlighted. |
| flexHighlightWithFocus | 2 | Selected cells are highlighted only when they are in focus. |
The following table shows the constants for the SelectionMode property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexSelectionFree | 0 | Default. Individual cells in PVBGrid can be selected. |
| flexSelectionByRow | 1 | Entire rows at a time are selected in PVBGrid. |
| flexSelectionByColumn | 2 | Entire columns at a time are selected in PVBGrid. |
The following table shows the constants for the ScrollBars property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexScrollBarNone | 0 | PVBGrid has no scroll bars. |
| flexScrollBarHorizontal | 1 | PVBGrid has a horizontal scroll bar. |
| flexScrollBarVertical | 2 | PVBGrid has a vertical scroll bar. |
| flexScrollBarBoth | 3 | Default. PVBGrid has horizontal and vertical scroll bars. |
The following table shows the constants for the Sort property. Use these constants anywhere in your code in place of actual values.
Constant |
Value |
Description |
| flexSortNone | 0 | No sorting |
| flexSortGenAscend | 1 | Ascending sort which guesses whether text is string or number |
| flexSortGenDescend | 2 | Descending sort which guesses whether text is string or number |
| flexSortNumAscend | 3 | Ascending sort which converts strings to numbers |
| flexSortNumDescend | 4 | Descending sort which converts strings to numbers |
| flexSortStrAscend | 5 | Ascending sort using case-insensitive string comparison |
| flexSortStrDescend | 6 | Descending sort using case-insensitive string comparison |
| flexSortStrAscendCase | 7 | Ascending sort using case-sensitive string comparison |
| flexSortStrDescendCase | 8 | Descending sort using case-sensitive string comparison |
| flexSortCustom | 9 | Uses Compare event to compare rows |