Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TWinControl.SelectNext

Transfers the focus to the next child control.

Declaration

Source position: controls.pp line 2342

public procedure TWinControl.SelectNext(

  CurControl: TWinControl;

  GoForward: Boolean;

  CheckTabStop: Boolean

);

Arguments

CurControl

  

The control which is assumed to have the focus.

GoForward

  

False when the control preceding CurControl shall be found.

CheckTabStop

  

When True, only select a control that can receive the focus.

Description

The search wraps around on the boundaries of the TabOrder array. When no next control can be found, the focus remains unchanged.

See also

TWinControl.FindNextControl

  

Returns the preceding or next control in the tab order.



CT Web help

CodeTyphon Studio