Sign in Join
FPDoc Onlineexperiment

TCustomGrid.Options property

Member of TCustomGridprotectedIn unit Grids

Contains the set of optional features and/or behaviors enabled for the grid control.

Declaration

pascal
property Options: TGridOptions read FOptions write SetOptions default DefaultGridOptions;

Description

Options is a TGridOptions property used to store the options enabled for the grid control. Values from the TGridOptions enumeration are included in the set type to enable specific features or behaviors.

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. The default value for the Options property is defined in the DefaultGridOptions set constant.

Values present in the set cause the corresponding features or behaviors to be enabled in the control at run-time. For the complete list of available options and their usage, see TGridOption.

Use Options2 to set scrolling or cell editor behaviors enabled for the grid control.

Use MouseWheelOption to control mouse wheel behavior in the grid control.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.