TdxSpreadSheetDeleteColumns Class
An action object that implements the DeleteColumns end-user command in Spreadsheet and Report Designer-based applications.
Declaration
TdxSpreadSheetDeleteColumns = class(
TdxSpreadSheetAction
)
Remarks
This class does not introduce any new public members. Executing this action object removes the columns intersecting the current cell selection area.
UI elements linked to a TdxSpreadSheetDeleteColumns
action object are enabled only if the following conditions are met:
- Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to
True
). - The column delete operation is allowed in the active worksheet (i.e., its OptionsProtection.ActualAllowDeleteColumns property returns
True
).
Note
If the active Table View worksheet contains more than one selected cell range, a TdxSpreadSheetDeleteColumns
action object raises the EdxSpreadSheetError exception.
Inheritance
See Also