[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.Options

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

Declaration

Source position: grids.pas line 1279

protected property TCustomGrid.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

TCustomGrid.Options2

  

Contains additional options for scrolling and editor behavior enabled in the grid control.

TCustomGrid.MouseWheelOption

  

Sets the mouse wheel behavior for the grid control.

TGridOptions

  

Set type used to store enabled grid options.

TGridOption

  

Represents grid option values available for grid controls.

DefaultGridOptions

  

Set with the default grid options enabled for instances of the grid control.


Version 3.2 Generated 2024-02-25 Home