Sign in Join
FPDoc Onlineexperiment

TWinControl.FindNextControl function

Member of TWinControlprotectedIn unit Controls

Returns the preceding or next control in the tab order.

Declaration

pascal
function FindNextControl(CurrentControl: TWinControl; 
 GoForward: Boolean; CheckTabStop: Boolean; 
 CheckParent: Boolean): TWinControl

Description

When CurrentControl is Nil, the first control (forward) or last control (backward) in the TabOrder is returned; direction depends on the value in GoForward.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.