TCustomActionList.GetEnumerator function
Gets an enumerator for actions in the action list.
Declaration
function GetEnumerator: TActionListEnumeratorFunction result
TActionListEnumerator instance for the class.
Description
Gets a TActionListEnumerator instance used to access values in the
Actions property. It allows access to the values in the list using
FOR..IN syntax. For example:
// var // AnAction: TBasicAction; // AList: TActionList; // ... begin for AnAction in AList do SomethingWith(AnAction); end;
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
