Jump to content

Delete key behavior for RunTempTool() with one point

Recommended Posts

I'm using RunTempTool() to call a custom tool that inserts a plug-in.  If the user clicks the first point, then hits the delete key, the tool operation is aborted, like pressing escape.  I would like for the tool to instead go back to waiting for the first click.  Is there a way to change this behavior?


The tool action at this point also is kAction_OnEnterReturnKeyForToolCompletion, which makes it difficult to tell if the user has hit the delete key or the enter key.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...