For each object in the list, call a method or procedure, passing it the object.
Source position: contnrs.pp line 70
| public procedure TFPObjectList.ForEachCall( | 
| proc2call: TObjectListCallback; | 
| arg: pointer | 
| ); | 
| proc2call: TObjectListStaticCallback; | 
| arg: pointer | 
| ); | 
| proc2call | 
 | Procedure or method to be called. | 
| arg | 
 | Additional pointer passed to proc2call. | 
| proc2call | 
 | Procedure or method to be called. | 
| arg | 
 | Additional pointer passed to proc2call. | 
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.
None.
| 
 | Plan procedure callback type for TFPObjectList.ForEachCall. | |
| 
 | Method callback type for TFPObjectList.ForEachCall. |