[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TListCallback

Method callback type for TFPList.ForEachCall

Declaration

Source position: classesh.inc line 142

type TListCallback = procedure(

  data: pointer;

  arg: pointer

) of object;

Arguments

data

  

Data pointer from the list.

arg

  

Parameter passed to the ForEachCallcall.

Description

TListCallbackis the method callback prototype for the function that is passed to the TFPList.ForEachCallcall. The dataargument will be filled with all the pointers in the list (one per call) and the argargument is the Argargument passed to the ForEachCallcall.

See also

TFPList.ForEachCall

  

Call a procedure or method for each pointer in the list.

TListStaticCallback

  

Static method callback type for TFPList.ForEachCall