RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.FocusControl Method

Displays the editor and gives focus to a field control in the TCustomDBGrid object.

Pascal
procedure FocusControl(Field: TFieldRef); override;
C++
virtual __fastcall FocusControl(TFieldRef Field);

Call the FocusControl procedure to bring up the editor for the representation of Field in the TCustomDBGrid. FocusControl selects Field in the TCustomDBGrid, and then tells the TCustomDBGrid object to bring up the editor. 

 

TabStop 

ShowEditor

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!