RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDataLink.FocusControl Method

Sets the input focus to Control.

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

Call FocusControl to give the Control associated with this TFieldDataLink object the input focus. FocusControl checks whether the Control can receive input focus, and if so, calls its SetFocus method to move focus to the Control

 

Control 

SetFocus

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