[Overview][Types][Classes][Procedures and functions][Index] |
Gets the ordinal position in ControlList for the specified control.
Source position: extctrls.pp line 1330
public function TCustomFlowPanel.GetControlIndex( |
AControl: TControl |
):Integer; |
AControl |
|
Control to locate in the ControlList container. |
Position in the control list for the specified control, or -1 when not found.
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.
|
Container used to stored TFlowPanelControl instances on the panel. |
|
|
Gets the ordinal position of the specified control in the list of controls. |
|
|
Ordinal position for the flowed control in the TFlowPanelControlList collection. |
|
Version 4.0 | Generated 2025-05-03 | Home |