Skip to main content

TdxSpreadSheetPageControlTabEndDragEvent Type

The procedural type of a worksheet tab drop notification event.

Declaration

TdxSpreadSheetPageControlTabEndDragEvent = procedure(ASpreadSheet: TdxCustomSpreadSheet; AOldIndex: Integer; AIndex: Integer) of object;

Parameters

Name Type
ASpreadSheet TdxCustomSpreadSheet
AOldIndex Integer
AIndex Integer

Remarks

Use the ASpreadSheet parameter to access the Spreadsheet or Report Designer control that raised a TdxSpreadSheetPageControlTabEndDragEvent event. To access the control’s class-specific members, cast ASpreadSheet to the TdxSpreadSheet or TdxSpreadSheetReportDesigner class.

The AOldIndex and AIndex parameters return the indexes that correspond to the worksheet tab’s position before and after a drag-and-drop operation, respectively.

A spreadsheet control’s OnPageControlTabEndDrag event references the TdxSpreadSheetPageControlTabEndDragEvent procedural type.

See Also