THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/10/2012 at 14:15, xxxxxxxx wrote:
Thank you very much for your answer and the file.
The problem in this case is I need to click before the CTRL-key kicks in. Let me explain a little bit more what I have in mind: my tool gives visual feedback how it is going to operate. So by default my tool works in world space and draws some guides according to that. Now what I wanted to do is by holding the CTRL-key is to switch to local space and correspondingly change the guides (still nothing is exectued as I haven't clicked anything). Or as holding the button down might not be an option: just pressing it once to change the mode. I know it would be an option to put a mode-changing button in the tool-dialog, but I still think there must be a way using keyboard input (and there is as it works with ESC in the KeyboardInput function ... but seriously: who wants to use ESC to change a mode?).
Sorry if it wasn't clear enough what I wanted before (it always makes perfect sense in my head :wink:).