TdxSpreadSheetPageControlNewTabButtonClickEvent Type
The procedural type of the “Add Sheet” button activation event.
Declaration
TdxSpreadSheetPageControlNewTabButtonClickEvent = procedure(ASpreadSheet: TdxCustomSpreadSheet; var AHandled: Boolean) of object;
Parameters
Name | Type |
---|---|
ASpreadSheet | TdxCustomSpreadSheet |
AHandled | Boolean |
Remarks
Use the ASpreadSheet parameter to access the Spreadsheet or Report Designer control that raised a TdxSpreadSheetPageControlNewTabButtonClickEvent event. To access the control’s class-specific members, cast ASpreadSheet to the TdxSpreadSheet or TdxSpreadSheetReportDesigner class.
Assign True to the AHandled parameter to prevent the ASpreadSheet control from creating a new worksheet.
A spreadsheet control’s OnPageControlNewTabButtonClick event references the TdxSpreadSheetPageControlNewTabButtonClickEvent procedural type.
See Also