[flex_india:29598] increasing font size

0 views
Skip to first unread message

Alekhya Krishna

unread,
Apr 20, 2010, 1:42:26 AM4/20/10
to flex_...@googlegroups.com
Hi to All,
 
 I have a combo box , in that comb box having some font sizes, like(10x,12x,14x.....), when i select the font size, the datagrid font size will be increased.
please provide the solution.
 
Thanks & Regards,
K.V.Ramakrishna,
 

--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Shalu Popli Jain

unread,
Apr 20, 2010, 10:48:30 AM4/20/10
to flex_...@googlegroups.com
on change event of ComboBox, change the font size on DataGrid using setStyle:
 

<mx:ComboBox

dataProvider="{fontSizeValue}" change="changeHandler(event)"/>

private

function changeHandler(event:Event):void

{

adg.setStyle(

"fontSize", ComboBox(event.currentTarget).selectedItem)

}


Reply all
Reply to author
Forward
0 new messages