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

Glossary Item Box

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

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.