[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Invalidates a focused or highlighted cell or row.
Source position: grids.pas line 1135
protected procedure TCustomGrid.InvalidateFocused; |
InvalidateFocused uses cached grid data in GCache to determine whether the grid control has valid columns and rows. No actions are performed in the method when columns and rows are not present in the cached grid information.
The values in Options are used to determine whether row select or row highlighting are enabled for the control. If either is present in Options, the InvalidateRow method is called for the current Row number. If neither option is used, the InvalidateCell method is called for the current cell in Col and Row.
InvalidateFocused is called from methods that respond to focus changes involving the grid control, including: WMKillFocus, WMSetFocus, DoEnter, and DoExit.
Version 4.0 | Generated 2025-05-03 | Home |