For the record. Someone provided me the solution i show below directly by email:
/**
* Runs on change converting all text to upper case
*/
private function changeHandlerToUpper(event:Event):void{
event.target.text = event.target.text.toUpperCase();
}
which works fine.
--- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote:
In a handler for the 'textInput' event, set event.text =
event.text.toUpperCase(). The 'textInput' event is dispatched after the text
has been typed (or converted by an IME) but before it has been inserted into
the
--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@...
wrote:
Is this anything of help?
capsLock property
capsLock:Boolean [read-only]
Specifies whether the Caps Lock key is activated (true) or not (false).
If you refer to the static read-only property of
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:
Unfortunately, the text controls don't use events as input events, but
dispatch them as notifications instead, so you can't fake events to them.
Okay, that explains why dispatching KeyboardEvent on TextField and TextEvent on
In a handler for the 'textInput' event, set event.text =
event.text.toUpperCase(). The 'textInput' event is dispatched after the text
has been typed (or converted by an IME) but before it has been inserted into
the TextField. The 'change' event is dispatched after the text has been
inserted.
Is this anything of help?
capsLock property
capsLock:Boolean [read-only]
Specifies whether the Caps Lock key is activated (true) or not (false).
--- In flexcoders@yahoogroups.com, per.olesen per.ole...@... wrote:
I need to automatically turn all keyboard input in all TextInput and
6 matches
Mail list logo