[Overview][Types][Classes][Procedures and functions][Index] |
Gets the ordinal position in ControlList for the specified control.
Source position: extctrls.pp line 1262
public function TCustomFlowPanel.GetControlIndex( |
AControl: TControl |
):Integer; |
AControl |
|
Flowed control to locate in ControlList. |
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.
|
Collection 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. |
|
TCollectionItem.Index |
lazarus-ccr.sourceforge.net |