Transform to Uppercase during typing

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Frank Ruthardt

we're looking for a way to reformat the input while user is typing.


User types 'a'
Input should be 'A'

We have already tried to override ProcessKeyEventArgs or used some other events.


[Modified at 12/16/2010 05:51 AM]

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Frank,

There is a Document.AutoCharacterCasing option you may want, which can convert all text to upper/lowercase.

Alternatively you might be able to handle the SyntaxEditor.KeyTyping event, cancel it in your particular scenarios then call editor.SelectedView.PerformInsertTyping(char) to mimic an altered typed key.

Actipro Software Support

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.