×
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

keyboard interaction (keydown)

keyboard interaction (keydown)

keyboard interaction (keydown)

(OP)
Hello,
I write a macro for autocad and I generate a lots of objects(points) at special coordinates on my drawing.
I choose actions from userforms. One is to click on the objects(points), get the coordinates from the object and create text-number(counter) near the object coordinates.
My problem:
I want to break the action, if the user press a special key.
(e.g. backspace for declining one or more steps of the action)
It is possiple to evaluate pressed keys if a userform is shown (keydown), but how can I break e.g. getobject, which waits for user input, with the keyboard.
Thank You.

MfG
Axel

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