Skip to main content

TdxSpreadSheetInsertColumns Class

An action object that corresponds to the InsertColumns command provided by the Spreadsheet and Report Designer controls.

Declaration

TdxSpreadSheetInsertColumns = class(
    TdxSpreadSheetCustomEditAction
)

Remarks

This class does not introduce any new public members. Executing this action object inserts columns intersecting the current cell selection area. The number of inserted columns matches the absolute width (in cells) of the current selection. Inserted columns have the same appearance settings as the column adjacent to the left border of the current cell selection area.

VCL SpreadSheet: An Insert Columns Operation Example

UI elements linked to a TdxSpreadSheetInsertColumns action object are enabled only if the following conditions are met:

Note

If the active Table View worksheet contains more than one selected cell range, a TdxSpreadSheetInsertColumns action object raises the EdxSpreadSheetError exception.

See Also