KeyPressTrigger & Tab Key

SyntaxEditor for Windows Forms Forum

Posted 20 years ago by painetraine
Is it possible to create a KeyPressTrigger that has the tab key as its trigger key?

I tried creating a KeyPressTrigger with '\t' and (char)Keys.Tab as the character for the trigger but pressing tab doesn't cause a trigger event.

Is there another way to do this?

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Not with the way it is currently designed since the tab key gets picked up by the KeyActionMapping for IndentAction. We're going to be redesigning some of the key processing soon and will try to change things so that control keys like tab are more accessible.

What type of code are you trying to attach in response to the tab key press?

Actipro Software Support

Posted 20 years ago by painetraine
Basically, my users want to be able to get the intellisense lists that I pop on trigger from either a space or a tab. Some people space after specific tokens but some people like to format their code a certain way so they like to place a tab between a token and the data displayed in the intellisense list.

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.