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

TCustomGrid.HeaderPushZones

Contains the grid zones which are drawn in a "pushed" state on the control.

Declaration

Source position: grids.pas line 1269

protected property TCustomGrid.HeaderPushZones : TGridZoneSet
  read FHeaderPushZones
  write FHeaderPushZones
  default [gzFixedCols];

Description

HeaderPushZones is a TGridZoneSet property which indicates which areas on the control are drawn in a "pushed" state when they are clicked. It is a set type and contains zero or more values from the TGridZone enumeration. The default value for the property is [gzFixedCols], and indicates that fixed header cells are drawn with a button down state when they are clicked.

HeaderPushZones is used in the MouseDown method when a mouse down event is cached for the grid control. It is relevant when goHeaderPushedLook has been included in the Options for the control, and causes the cell under the mouse pointer to be redrawn in a clicked or pushed state when the mouse event is handled.

See also

TCustomGrid.MouseDown

  

Handles mouse down events for the grid control.

TGridZoneSet

  

Set type used to store TGridZone enumeration values.

TGridZone

  

Enumerated type with values which represent the zones or areas on a grid control.


Version 3.2 Generated 2024-02-25 Home