[Overview][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TObjectListStaticCallback

Plan procedure callback type for TFPObjectList.ForEachCall

Declaration

Source position: contnrs.pp line 29

type TObjectListStaticCallback = procedure(

  data: TObject;

  arg: pointer

);

Arguments

data

  

Object from the list

arg

  

Data passed to ForEachCall

Description

TObjectListCallbackis used as the prototype for the TFPObjectList.ForEachCalllink call when a plain procedure should be called. The Dataargument will contain each of the objects in the list in turn, and the Dataargument will contain the data passed to the ForEachCallcall.

See also

TFPObjectList.ForEachCall

  

For each object in the list, call a method or procedure, passing it the object.