TdxSpreadSheetDeleteSheet Class
An action object that implements the DeleteSheet end-user command in Spreadsheet and Report Designer-based applications.
Declaration
TdxSpreadSheetDeleteSheet = class(
TdxSpreadSheetAction
)
Remarks
This class does not introduce any new public members. Executing this action object removes the currently active worksheet.
UI elements linked to a TdxSpreadSheetDeleteSheet
action object are enabled only if the following conditions are met:
- The spreadsheet document structure is not protected (i.e., the control’s OptionsProtection.ActualAllowChangeStructure property returns
True
). - The opened spreadsheet document has more than one visible worksheet (i.e., the SpreadSheet control’s VisibleSheetCount property value exceeds
1
).
Inheritance
See Also