Transform to Uppercase during typing

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Frank Ruthardt
Avatar
Hello,

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

e.g.:

User types 'a'
Input should be 'A'

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

Frank

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

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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.1) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.