Sign in Join
FPDoc Onlineexperiment

TCustomFlowPanel.GetControlIndex function

Member of TCustomFlowPanelpublicIn unit ExtCtrls

Gets the ordinal position in ControlList for the specified control.

Declaration

pascal
function GetControlIndex(AControl: TControl): Integer

Description

GetControlIndex is a convenience method used to get the ordinal position in ControlList for the specified TFlowPanelControl. Calls TFlowPanelControlList.IndexOf to get the return value, which can be -1 if AControl is not found in ControlList.

Use SetControlIndex to set the ordinal position in ControlList for the specified flowed control.

See also

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