Vcl.ComCtrls.TToolBar.GetEnumerator
Delphi
function GetEnumerator: TToolBarEnumerator;
C++
HIDESBASE TToolBarEnumerator* __fastcall GetEnumerator();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Returns a TComponent enumerator.
Vcl.ComCtrls.TToolBar.GetEnumerator inherits from System.Classes.TComponent.GetEnumerator. All content below this line refers to System.Classes.TComponent.GetEnumerator.
Returns a TComponent enumerator.
GetEnumerator returns a TComponentEnumerator reference, which enumerates the components contained within a specified containing component.
To process all these subcomponents, call the TComponentEnumerator GetCurrent method within a While MoveNext do loop.