Sign in Join
FPDoc Onlineexperiment

TObjectListCallback procedure type

In unit Contnrs

Method callback type for TFPObjectList.ForEachCall.

Declaration

pascal
TObjectListCallback = procedure(data: TObject; arg: pointer) of object

Arguments

data

Object from the list.

arg

Data passed to ForEachCall.

Description

TObjectListCallback is used as the prototype for the 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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.