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

TGridDrawState

Enumeration with Grid draw state values.

Declaration

Source position: grids.pas line 138

type TGridDrawState = set of (

  gdSelected,

  

Drawn in its Selected state.

  gdFocused,

  

Drawn in its Focused state.

  gdFixed,

  

Drawn using the Fixed cell colors.

  gdHot,

  

Drawn using the Hot or hovered display attributes.

  gdPushed,

  

Drawn in a Pushed state.

  gdRowHighlight

  

Drawn using the row highlighting color.

);

Description

TGridDrawState is an enumeration with values that represent grid drawing states for a grid control. Values in TGridDrawState indicate the display attributes applied to a row, a column, or an individual cell in a grid control.

TGridDrawState arguments are passed to event handlers and methods in TCustomGrid.

See also

TOnDrawCell

  

Defines the event handler signalled to draw a cell on a grid control.

TOnPrepareCanvasEvent

  

Specifies an event handler signalled when preparing the canvas for a grid control.

TCustomGrid.DrawCell

  

Draws a cell using a given state at the specified grid location (Col, Row, rectangle).

TCustomGrid.DrawCellGrid

  

Draws cell grid lines for the control.

TCustomGrid.DrawCellText

  

Draws the specified text in the given text rectangle.

TCustomGrid.DrawButtonCell

  

Draws a cell in a button-style column.

TCustomGrid.DrawColumnText

  

Draws the text and image for a grid column title at the specified cell coordinates.

TCustomGrid.DrawTextInCell

  

Draws the text for a non-fixed cell in the grid.

TCustomGrid.DrawThemedCell

  

Draws a cell using the theme services for the specified grid drawing state.


Version 3.2 Generated 2024-02-25 Home