Skip to main content

TdxSpreadSheetTableViewForEachCellProc Type

A reference to an anonymous procedure that iterates through multiple occupied cells in a worksheet and applies the same changes to all such cells.

Declaration

TdxSpreadSheetTableViewForEachCellProc = reference to procedure(ACell: TdxSpreadSheetCell);

Parameters

Name Type
ACell TdxSpreadSheetCell

Remarks

Use the ACell parameter within a TdxSpreadSheetTableViewCellProc anonymous procedure to address multiple cell objects at once as described in the How to Customize All Cell Objects at Once topic.

You can pass a lambda expression in C++Builder code as a parameter that accepts an anonymous procedure if a Clang-enhanced C++ Compiler is available. Otherwise – you need to use a Functor C++ template to pass a pointer to a TdxSpreadSheetTableViewCellProc procedure implementation as described in the mentioned topic.

A worksheet’s ForEachCell procedure accepts a TdxSpreadSheetTableViewForEachCellProc reference as the AProc parameter.

See Also