Collapse All Expand All

PC-DMIS 2019 R1 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

EditWindow Object | EditWindow Members

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