Skip to main content

TdxDynamicItemListForEachProcRef Type

A reference to a procedure that iterates through multiple items within a dynamic item list.

Declaration

TdxDynamicItemListForEachProcRef = reference to procedure(AItem: TdxDynamicListItem);

Parameters

Name Type
AItem TdxDynamicListItem

Remarks

You can implement a TdxDynamicItemListForEachProcRef anonymous procedure to address multiple dynamic list items at once. Use the AItem parameter to customize all the items passed by an item enumeration method to the anonymous procedure.

Since C++Builder does not support anonymous methods, you need to wrap the respective TdxDynamicItemListForEachProcRef method interface as the Invoke method.

The TdxDynamicItemList.ForEach and TdxHashTable.ForEach item iterator procedures accept a TdxDynamicItemListForEachProcRef anonymous procedure as the AProc parameter.

See Also