[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Method callback type for TFPObjectList.ForEachCall
Source position: contnrs.pp line 28
type TObjectListCallback = procedure( |
data: TObject; |
arg: pointer |
) of object; |
data |
|
Object from the list |
arg |
|
Data passed to ForEachCall |
TObjectListCallback is used as the prototype for the TFPObjectList.ForEachCall link callwhen a method should be called. The Data argument will contain each of the objects in the list in turn, and the Data argument will contain the data passed to the ForEachCall call.
|
For each object in the list, call a method or procedure, passing it the object. |