TFPObjectList.ForEachCall procedure
For each object in the list, call a method or procedure, passing it the object.
Declaration
procedure ForEachCall(proc2call: TObjectListCallback; arg: pointer)
procedure ForEachCall(proc2call: TObjectListStaticCallback;
arg: pointer)Arguments
proc2call | Procedure or method to be called. |
arg | Additional pointer passed to
|
Description
ForEachCall loops through all objects in the list, and calls
proc2call,
passing it the object in the list. Additionally,
arg is also passed to the procedure.
Proc2call can be a plain procedure or can be a method of a class.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
