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
I need to automatically turn all keyboard input in all TextInput and TextArea
components in my flex application into upper-case.
It needs to function like if the user had actually typed it in upper-case. So,
the events with the lower-case input needs to be stopped and new events with
the
Hi,
Basically, I would like to apply some (of my own) metadata to a
component instance inside the mxml. Like this:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:ApplicationControlBar
mx:Metadata[MyMetadata]/mx:Metadata
mx:Button id=foo
I was wondering why a flex control or container does not dispatch a
FlexEvent.SHOW when showing the first time? Given this code:
mx:Panel
id=panel
show=Alert.show('I am showing')
creationComplete=Alert.show('I was created')/
mx:Button
click=panel.visible = !panel.visible
--- In flexcoders@yahoogroups.com, Robert Csiki [EMAIL PROTECTED]
wrote:
How would I implement a Confirm-like dialog in Flex? Basically, a
confirmation popup (modal) window so the application will wait
(freeze)
for the user's input and then will use it to continue its execution?
[snip]
..I
Hi,
Maybe you should try setting creationPolicy=all on your TabBar. By
default, it first creates the child components when someone tabs into
it. If you set it to all, all child controls will be created
up-front (which can be expensive, if you have many that are complex).
See:
9 matches
Mail list logo