[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Contains additional options for scrolling and editor behavior enabled in the grid control.
Source position: grids.pas line 1280
protected property TCustomGrid.Options2 : TGridOptions2 |
Options2 is a TGridOptions2 property which contains options which control scrolling or cell editors in the grid control. It is a set type which contains zero (0) or more values from the TGridOption2 enumeration.
See TGridOption2 for the values allowed in the set type. The default value for the property is defined in the DefaultGridOptions2 constant (it is an empty set).
The set values can be included or excluded at design-time using the object inspector in the Lazarus IDE. They can also be included or excluded in the set at run-time using program code.
Values present in the set cause the corresponding behaviors to be enabled in the control at run-time. For example:
Use Options to control the primary features and behaviors in the grid control.
Use MouseWheelOption to control the mouse wheel behavior in the control.
Modified in version 3.0 to include goEditorParentColor and goEditorParentFont options.
|
Contains the set of optional features and/or behaviors enabled for the grid control. |
|
|
Sets the mouse wheel behavior for the grid control. |
|
|
Updates cached grid information for the visible area and scroll bars in the control. |
|
|
Gets the range values for the scroll bars when visible. |
|
|
Gets the values for the scroll bar visibility flags in the control. |
|
|
Saves grid options to the specified XML configuration file. |
|
|
Loads design-time values for the Options in a grid from an XML configuration file. |
|
|
Performs actions needed to show the cell Editor for the grid control. |
|
|
Set type used to store enabled grid options from the TGridOption2 enumeration. |
|
|
Represents grid options introduced in Version 2 (or higher) of grid controls. |
|
|
Default grid options enabled for version 2 of the grid control. |
Version 3.2 | Generated 2024-02-25 | Home |