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

TFPList.ForEachCall

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

Declaration

Source position: classesh.inc line 260

public procedure TFPList.ForEachCall(

  proc2call: TListCallback;

  arg: pointer

);

procedure TFPList.ForEachCall(

  proc2call: TListStaticCallback;

  arg: pointer

);

Description

ForEachCall iterates over all pointers in the list and calls proc2call, passing it the pointer and the additional arg data pointer. Proc2Call can be a method or a static procedure.

Errors

None.

See also

TListStaticCallback

  

Static method callback type for TFPList.ForEachCall

TListCallback

  

Method callback type for TFPList.ForEachCall


Documentation generated on: Sep 28 2017