Skip to main content

TdxSpreadSheetTableRow.EnumCells(TdxSpreadSheetTableItemEnumProc) Method

Performs a specific set of actions on all populated cells within the row.

Declaration

procedure EnumCells(AEnumProc: TdxSpreadSheetTableItemEnumProc); override;

Parameters

Name Type
AEnumProc TdxSpreadSheetTableItemEnumProc

Remarks

This procedure applies a set of actions implemented as a TdxSpreadSheetTableItemEnumProc anonymous procedure passed as the AEnumProc parameter to underlying objects of all populated cells within the row. For instance, you can change the

This procedure provides a convenient way to apply a uniform set of actions to all cell objects within the current row. For instance, you can easily change the background color for all cells modified by an end-user:

The AEnumProc parameter specifies the TdxSpreadSheetTableItemEnumProc anonymous procedure whose ACell parameter is used to address each valid cell object within the current row object.

Refer to the How to Customize All Cell Objects at Once topic for details on the practical use of the EnumCells procedure.

Note

To access and modify all cell objects within the Table View worksheet, call its ForEachCell procedure.

See Also