Copies the currently selected sketch objects to the clipboard.

Usage

Send_Message(OLECtrlEntID, "OLE.Copy")

Parameters

None

Remarks

The Copy method performs a standard Windows copy. Normally, you won't have to call this since the Ctrl+C shortcut is already built into the SRP Sketch Control. However, if you have a frame with a menu item using Ctrl+C, then that menu will override the ability for the SRP Sketch Control to do this automatically. In that case, have your menu accelerator call this method when the SRP Sketch Control has focus.

Example

// programmatically perform a copy
Send_Message(@Window:".OLE_SKETCH", "OLE.Copy")

See Also

CutPasteRedoSelectAllUndo

  • No labels