[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Set type used to store enabled grid options.
Source position: grids.pas line 118
type TGridOptions = set of ( |
||
goFixedVertLine, |
|
Shows vertical lines around fixed cells. |
goFixedHorzLine, |
|
Shows horizontal lines around fixed cells. |
goVertLine, |
|
Show vertical lines. |
goHorzLine, |
|
Show horizontal lines. |
goRangeSelect, |
|
Enables range selection for grid cells. |
goDrawFocusSelected, |
|
Enables focused drawing for selected cell(s). |
goRowSizing, |
|
Allow user to change row height. |
goColSizing, |
|
Allow user to change column width. |
goRowMoving, |
|
Enables moving the position of an entire row in a grid. |
goColMoving, |
|
Enables moving the position of an entire column in a grid. |
goEditing, |
|
Allows editing in grid cells. |
goAutoAddRows, |
|
Automatically add new rows. |
goTabs, |
|
Controls Tab key behavior in the grid. |
goRowSelect, |
|
Select the whole row instead of only one cell. |
goAlwaysShowEditor, |
|
Always shows the cell editor. |
goThumbTracking, |
|
Enables tracking of the thumb position in grid scroll bars. |
goColSpanning, |
|
Enable cellextent calculations. |
goRelaxedRowSelect, |
|
User can see focused cell on goRowSelect. |
goDblClickAutoSize, |
|
Double clicking column's borders (on headers) resize column. |
goSmoothScroll, |
|
Switch scrolling mode. |
goFixedRowNumbering, |
|
Show row numbers in first fixed column. |
goScrollKeepVisible, |
|
Keeps focused cell visible while scrolling. |
goHeaderHotTracking, |
|
Header cells change look when mouse is over them. |
goHeaderPushedLook, |
|
Header cells looks pushed when clicked. |
goSelectionActive, |
|
Setting grid selection also moves the cell cursor. |
goFixedColSizing, |
|
Allow to resize fixed columns. |
goDontScrollPartCell, |
|
Selecting a partially visible cell will not scroll the grid content. |
goCellHints, |
|
Show individual cell hints. |
goTruncCellHints, |
|
Truncates cell hints when they are longer than the cell content. |
goCellEllipsis, |
|
Shows an Ellipsis (...) at the end of truncated cell hints. |
goAutoAddRowsSkipContentCheck, |
|
Also add a row if last row is empty. |
goRowHighlight |
|
Highlights the current Row in a grid control. |
); |
TGridOptions is a set type used to store values from the TGridOption enumeration. The features or behaviors in TGridOption are enabled when their enumeration values are included in the set. TGridOptions is the type used for the TCustomGrid.Options property.
|
Contains the set of optional features and/or behaviors enabled for the grid. |
lazarus-ccr.sourceforge.net |