Sign in Join
FPDoc Onlineexperiment

TWinControl.SelectNext procedure

Member of TWinControlpublicIn unit Controls

Transfers the focus to the next child control.

Declaration

pascal
procedure SelectNext(CurControl: TWinControl; GoForward: Boolean; 
 CheckTabStop: Boolean)

Arguments

CurControl

The control which is assumed to have the focus.

GoForwardFalse 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.