How to know what command is active ?

How to know what command is active ?

SandmanINV
Advocate Advocate
473 Views
1 Reply
Message 1 of 2

How to know what command is active ?

SandmanINV
Advocate
Advocate

Hi everybody, 

Like my title topic, how can I know what command is active ?

my code like this but nothing happen, anyone can help me:

If oinv.CommandManager.ActiveCommand = "AppSketch2DWrapperCmd" Then
               txt_name.text="Create Sketch command is active"
            End If

Thank you, 

0 Likes
Accepted solutions (1)
474 Views
1 Reply
Reply (1)
Message 2 of 2

SandmanINV
Advocate
Advocate
Accepted solution

I found problem. Just wrong name of cmd. 

Thannkyou for reading.

0 Likes