Inserts sketch objects currently copied to the clipboard.

Usage

Send_Message(OLECtrlEntID, "OLE.Paste")

Parameters

None

Remarks

The Paste method performs a standard Windows paste. Normally, you won't have to call this since the Ctrl+V shortcut is already built into the SRP Sketch Control. However, if you have a frame with a menu item using Ctrl+V, 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 paste
Send_Message(@Window:".OLE_SKETCH", "OLE.Paste")

See Also

CopyCutRedoSelectAllUndo

  • No labels