Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > EditWindow Object : SelectCommand Method
SelectCommand Method
Description

If you specify a command object to select, it selects that entire command in the Edit window. Otherwise, it selects the entire command surrounding the cursor location in the Edit window.

You can use this method to perform automation tasks on a selected command. Once you have it selected, you can copy and paste it somewhere else in the Edit window using the CopySelectedToClipBoard and PasteFromClipboard methods.

Syntax
Visual Basic
Public Sub SelectCommand() 
Example
For an example of SelectCommand, see CopySelectedToClipboard.
See Also