Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDynamicItemListForEachProcRef Type

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

#Declaration

Delphi
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