Sign in Join
FPDoc Onlineexperiment

TCustomGrid.GetSelectedState procedure

Member of TCustomGridprotectedIn unit Grids

Gets the effective selected state using the control Options and the grid draw state.

Declaration

pascal
procedure GetSelectedState(AState: TGridDrawState; 
 out IsSelected: Boolean); virtual

Arguments

AState

Grid draw state values examined in the method.

IsSelectedTrue when the state and Options values indicate a selected state.

Description

Called from the PrepareCanvas method when fixed cells are drawn, or when DefaultDrawing is enabled for the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.