5/4/2010 12:16:44 AM
Title:
Upper case
Hi,
When i am writing a letter in text input, lt will shows upper letter, how it is?
Thanks & Regards,
K.V.Ramakrishna
5/4/2010 2:22:28 AM
Hi K.V.Ramakrishna,
I have used the fallowing. Hope it may help you.
<s:TextInput x="303" y="500" id="tinp" change="changecase()"/>
public function changecase():void
{
var s:String= tinp.text;
tinp.text='';
tinp.appendText( s.toUpperCase());
}
Please let me know if any problem..
Note : I have used Flex 4.
Thanks
Shivam
5/4/2010 2:29:21 AM
Hi K.V.Ramakrishna,
For flex 3 use the fallowing
<mx:TextInput x="235" y="147" id="tinp" change="changecase()" width="200"/>
public function changecase():void
{
var s:String= tinp.text;
tinp.text=s.toUpperCase();
}
Hope this will help you.
Thanks
Shivam