Vcl.Controls.TWinControl.SelectFirst

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SelectFirst;

C++

void __fastcall SelectFirst();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Locates first selectable child control.

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.

See Also