[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.SelectNext

Transfers the focus to the next child control.

Declaration

Source position: controls.pp line 2243

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 tab order.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.