TdxSpreadSheetContainerEnumProc Type
A reference to an anonymous function which iterates through floating container objects.
Declaration
TdxSpreadSheetContainerEnumProc = reference to function(AContainer: TdxSpreadSheetContainer): Boolean;
Parameters
Name | Type |
---|---|
AContainer | TdxSpreadSheetContainer |
Referenced Class
Type |
---|
Boolean |
Remarks
Implement a TdxSpreadSheetContainerEnumProc anonymous procedure to address multiple floating container objects at once. The AContainer parameter allows you to modify all iterated containers passed by a floating container enumeration method. To stop iterating through passed container objects within this anonymous function, set its Result to False.
Since C++Builder does not support anonymous functions, you need to wrap the respective TdxSpreadSheetContainerEnumProc method interface exposed as the Invoke method. For additional information, refer to the How to Change Multiple Comments at Once topic.
The TdxSpreadSheetContainerEnumProc type is referenced by the AProc parameter of the floating container collection‘s EnumCommentContainers procedure.