Unit: | SDL_ntabed | Class: | TNTabEd | Declaration: | property Options:
TGridOptions; |
These are the possible values that can be included in the Options set for the draw and string grid controls:
goFixedHorzLine |
When True, horizontal lines appear between the rows within nonscrolling regions. |
goFixedVertLine |
When True, vertical lines appear between the columns within nonscrolling regions. |
goHorzLine |
When True, horizontal lines appear between the rows. |
goVertLine |
When True, vertical lines appear between the columns. |
goRangeSelect |
When True, the user can select a range of cells at one time. When goEditing is True, the user can no longer select a range of cells. |
goDrawFocusSelected |
When True, the cell with the focus is colored the same as other cells in a selected block are colored. When False, the cell with the focus
remains the color of all unselected cells, the color specified with the grid Color property. |
goRowSizing |
When True, rows can be resized individually except for fixed or nonscrolling rows. |
goColSizing |
When True, columns can be resized individually except for fixed or nonscrolling columns. |
goRowMoving |
When True, the user can move a row to a new location in the grid using the mouse. |
goColMoving |
When True, the user can move a column to a new location in the grid using the mouse. |
goEditing |
Do not use this option, as it is changed internally. In order to switch off the editing capability use the property DataReadOnly instead. |
goAlwaysShowEditor |
When True, the grid is in automatic edit mode if goEditing is also True. When the grid is in automatic edit mode, the user does not have to press Enter or F2 before editing the contents of a cell. When goAlwaysShowEditor is False and goEditing is True, the user must press Enter or F2 before editing the contents of a cell. If goEditing is False, setting goAlwaysShowEditor to True has no effect.
BEST RESULTS: set it to false ! |
goTabs |
When True, the user can use the Tab and Shift-Tab keys to move from column to column in the grid. |
goRowSelect |
When True, the user can select only whole rows at a time instead of individual cells. |
goThumbTracking |
When True, the contents of the grid scrolls while the user is moving the thumb tab of the grid scroll bar. When False, the contents of the grid doesn't scroll until the user releases the thumb tab in its new position. |
By default the following options are set: goColSizing, goFixedVertLine, goFixedHorzLine, goThumbTracking, goVertLine, and goHorzLine.
|