Selects all sketch objects.

Usage

Send_Message(OLECtrlEntID, "OLE.SelectAll")

Parameters

None

Remarks

The SelectAll method selects all the items currently in the sketch. Normally, you won't have to call this since the Ctrl+A shortcut is already built into the SRP Sketch Control. However, if you have a frame with a menu item using Ctrl+A, 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 select everything
Send_Message(@Window:".OLE_SKETCH", "OLE.SelectAll")

See Also

CopyCutPasteRedoUndo

  • No labels