RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.SelectFirst Method

Locates first selectable child control.

Pascal
procedure SelectFirst;
C++
__fastcall SelectFirst();

Call SelectFirst to find the first child that can be selected within the control's tab order. SelectFirst calls the FindNextControl method, passing nil (Delphi) or NULL (C++) as the current control. Once the first selectable control is found, SelectFirst makes the control the active control on the form. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!