Copies the currently selected sketch objects to the clipboard and then deletes them.

Usage

Send_Message(OLECtrlEntID, "OLE.Cut")

Parameters

None

Remarks

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

See Also

CopyPasteRedoSelectAllUndo

  • No labels