×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Escape/Cancel on a Toolbar

Escape/Cancel on a Toolbar

Escape/Cancel on a Toolbar

(OP)
I just made a custom toolbar with an icon that allows me to reset my OSNAPS, since a previous employee made blocks that changes them all around. While I'm at it, I'd like to figure out how to make an ESC key button on a toolbar, mostly for at home use when I don't want to use my keyboard, and don't want to program a mouse button for the deselect. I can put the on-screen keyboard on, and put it in the bottom right corner so just the esc shows, but I'd really like to just have a toolbar icon for it. Once something is selected, my right-click menu doesn't have a cancel anymore. Thanks.
Steve

RE: Escape/Cancel on a Toolbar

Just add another button on your custom toolbar and
the macro for the new "Cancel" button will simply be:
^C^C

If you are using autocad 2006 then via the CUI you can
add a Cancel command to your button or use the same
macro code above.

RE: Escape/Cancel on a Toolbar

^C^C doesn't work most of the time.
Use this instead:

CODE

^C^C$M=$(if,$(getvar,cmdactive),,_select ;)_ALL_^C^Credraw

Flores

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources