Spread 8.0 Documentation
AutoClipboard Property
Support Options
ActiveX Reference > ActiveX Properties > AutoClipboard Property

Glossary Item Box

AutoClipboard Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether the control supports the Clipboard shortcut keys.

Syntax

C++

BOOL CSpreadSheet::GetAutoClipboard( );
void CSpreadSheet::SetAutoClipboard(BOOL value);

Visual Basic

[form.]fpSpread.AutoClipboard[ = boolean%]

Remarks

The default value for the AutoClipboard property is True.

This setting is applied to the entire workbook, including all sheets in the control.

When the AutoClipboard property is set to True, the control supports the Clipboard shortcut keys. When the AutoClipboard property is set to False, the control does not support the Clipboard shortcut keys.

The Clipboard shortcut keys are listed in the following table:

Shortcut Key Action
Ctrl+C (Copy) Copies data to the Clipboard
Ctrl+X (Cut) Cuts data to the Clipboard
Ctrl+V (Paste) Pastes data from the Clipboard
Ctrl+Insert (Copy) Copies data to the Clipboard
Shift+Delete (Cut) Cuts data to the Clipboard
Shift+Insert (Paste) Pastes data from the Clipboard

Spread Designer

Choose the Book menu, then the Environment menu, select the Environment tab, and then choose the Handle Clipboard Keys check box in the Book Settings dialog box

In the Spread Designer, the AutoClipboard property is temporarily reset to True when in design mode to assist you in the design process. When you switch to run-time mode, the sheet behaves according to the setting you have chosen for this property.

Data Type

Integer (Boolean)

See Also

Turning Off the Clipboard Shortcut Keys

ClipboardCopy, ClipboardCut, ClipboardPaste methods

DLL Correspondence

SSGetBool (SSB_AUTOCLIPBOARD), SSSetBool (SSB_AUTOCLIPBOARD) functions

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.