[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 2414

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.


Version 3.2 Generated 2024-02-25 Home