Contents
- Index
- Previous
- Next
Options property
Applies to
TProfGrid component
Declaration
property Options: TProfGridOptions;
Description
Specifies various display and behavioral properties of the grid.
Set Options to include the desired properties for the grid. Options is a set drawn from the following values:
pgoFixedVertLine
Vertical lines are drawn to separate the fixed (nonscrolling) columns in the grid.
pgoFixedHorzLine
Horizontal lines are drawn to separate the fixed (nonscrolling) rows in the grid.
pgoVertLine
Vertical lines are drawn to separate the scrollable columns in the grid.
pgoHorzLine
Horizontal lines are drawn to separate the scrollable rows in the grid.
pgoRangeSelect
Users can select contiguous ranges of cells.
pgoDrawFocusSelected
Cells with input focus are drawn with a special highlight color, just like selected cells without input focus. If the option is not included, the cell with input focus is distinguished by a focus rectangle, not by a special background color.
pgoRowSizing
Rows can be individually resized using the mouse.
pgoColSizing
Columns can be individually resized using the mouse.
pgoRowMoving
Rows can be moved using the mouse.
pgoColMoving
Columns can be moved using the mouse.
pgoEditing
Users can edit the contents of cells.
pgoTabs
Users can navigate through the cells using <Tab> and <Shift>+<Tab> keys.
pgoRowSelect
Entire rows are selected rather than individual cells. If the option is included, users cannot edit the contents of cells.
pgoAlwaysShowEditor
The grid is locked into edit mode. The user does not need to use <F2> to turn on EditorMode.
pgoThumbTracking
The grid image updates while the user is dragging the thumb of the scroll bar. If the option is not included, the image does not update until the user releases the thumb in a new position.
pgoAutoIncreaseRowHeights
Grid may automatically increase the heights of rows to fit the data in a row.
pgoAutoDecreaseRowHeights
Grid may automatically decrease the heights of rows to fit the data in a row.
pgoDrawFocusRectangle
Grid draws the focus rectangle around the current cell.
pgoMultiLineCells
Determines whether the user can enter explicit line-breaks in the cells.
pgoMultiSelect
Determines whether the user can select more than one non-contiguous area in the grid.
pgoSelectFixedCols
Determines whether the user can select cells in the fixed columns of the grid.
pgoSelectFixedRows
Determines whether the user can select cells in the fixed rows of the grid.
pgoEnterThrough
Determines whether the <Enter> key should act like the <Tab> key for navigation over the grid.
pgoClearCellOnDel
Determines whether the selected cells are cleared when the user presses the <Del> key.
pgoTabThrough
Determines whether the <Tab> key press in the last cell of the grid moves the focus to the first cell of the grid. (And vise versa for the <Shift>+<Tab> key combination).
pgoCut
Determines whether the user can perform cut operations using the keyboard.
pgoCopy
Determines whether the user can perform copy operations using the keyboard.
pgoPaste
Determines whether the user can perform paste operations using the keyboard.
pgoAddColsOnPaste
Determines whether the grid should automatically add new columns when pasting a tabular data from the clipboard.
pgoAddRowsOnPaste
Determines whether the grid should automatically add new rows when pasting a tabular data from the clipboard.
pgoStretchImages
Determines whether images in grid cells are drawn stretched to fit in cell bounds.
pgoFreeCellObjects
Determines whether the grid should automatically call destructors for any objects assigned to the CellObject properties of cells when a cell is about to be destroyed.