[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Determines if a selection is available using the Focus and Options properties for the control.
Source position: dbgrids.pas line 480
protected procedure TCustomDBGrid.GetSelectedState( |
AState: TGridDrawState; |
out IsSelected: Boolean |
); override; |
AState |
|
TGridDrawState for the selection in the grid control. |
IsSelected |
|
Returns True if the grid as focus and active selection in the State property. |
GetSelectedState is an overridden method in TCustomDBGrid, and calls the inherited method on entry to get the value used in the IsSelected argument. It extends the inherited method to change IsSelected to False if the control is not Focused or dgAlwaysShowSelection has not been included in the Options for the grid control.
See TCustomGrid.GetSelectedState for the actions performed in the ancestor class.
|
Contains the optional features or behaviors that are enabled for the grid control. |
|
|
Gets the effective selected state using the control Options and the grid draw state. |
|
|
Indicates if the grid is focused or has an active focused cell Editor. |
|
Version 3.2 | Generated 2024-02-25 | Home |