[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gives focus to the grid control.
Source position: grids.pas line 1346
public procedure TCustomGrid.SetFocus; override; |
SetFocus is an overridden procedure used to make the grid control the currently focused control. SetFocus ensures that pending Tab key navigation for an active cell editor is handled properly. If an Editor is both available and visible, it calls its SetFocus method. Otherwise, the grid control becomes the focused control.