You probably can not turn on CAPS Lock from your flex app, probably a bit of a security risk. I doubt the flash player has access and/or allows flash apps to get access to do that (correct me if I am wrong).
 
If you need to ensure that everything they type is in all CAPS, then just set the text value like this:
item.text = item.text.toUpperCase(). Or another possible way is to listen on the keypress and convert it as they press. I guess you could also listen on the change event and convert it then, but it might be a bit laggy with fast typing.
 
Hope that helps some, feel free to reply back if you need more help with it.
 
Karl
 
Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brankosli
Sent: Friday, October 13, 2006 2:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Text Area question

I will be more that thankful if someone could solve my problem.I'm
working with textArea component and I have 2 questions:

I need to know if there is any possibility to fix left and right margin
in textArea component?
And also I need to know if there is possibility to turn on and off
capsLock by coding not by pressing keyboard?

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to