Skip to main content

ShowPasteSpecialDialog(TdxCustomSpreadSheet) Method

Invokes the “Paste Special” dialog for the specified spreadsheet control.

Declaration

procedure ShowPasteSpecialDialog(ASpreadSheet: TdxCustomSpreadSheet);

Parameters

Name Type
ASpreadSheet TdxCustomSpreadSheet

Remarks

Call this procedure and pass a target spreadsheet control as the ASpreadSheet parameter to invoke the “Paste Special” dialog that allows a user to choose which data to paste from the clipboard.

An OK button click or an Enter keystroke closes the “Paste Special” dialog and calls the active worksheet‘s PasteFromClipboard procedure and passes all selected settings as the AOptions parameter.

A click on the “Paste Special…” item in the Cell and Row/Column Header context menus of a spreadsheet control calls the ShowPasteSpecialDialog procedure for this control. The menu item is enabled only if the clipboard content has one of the supported data formats.

See Also