Hi i am sharing Tab Increase height Function ::
private function increaseHeight():void{
var canvasObj:Canvas =
(Canvas)(this.tn.getChildByName("c"+this.tn.selectedIndex));
vbox1Id.height = vbox1Id.height + 300;
mainCanvas.height = mainCanvas.height + 300;
hbox2Id.height = hbox2Id.height + 300;
canvas1Id.height = canvas1Id.height + 300;
hbox3Id.height = hbox3Id.height + 300;
canvasObj.height = canvasObj.height+ 300;
tn.height = tn.height+ 300;
}
This Increases Height of All Tabs..But requirement is it should only
increase that particular Tab only , and all other tabs height should remain
same..
********************************************
Velayutham Velu wrote:
>
> Please share your code if possible, we can give some solution easily...
>
> Regards,
> Velu
>
> On 25 November 2010 04:12, RAJIK PASHA wrote:
>
>> Hi All , I have a flex application,in this we can add Tabs dynamically
>> which is running fine.Now the requirement is : I provided an option at
>> the
>> footer of application ( at bottom of each TAB) to increase/decrease
>> screen
>> height.It is also working fine. But when i increase the height , it
>> increases all TABS heights instead of that particular TAB height to be
>> increased. *When i am in a Particular TAB and when i clicked '+' Button ,
>> that particular TAB height should increase.All other remaining TABS
>> should
>> not increase their height.* Help Needed.....
>> ------------------------------
>> View this message in context: Tab Height increase
>> Sent from the Flex India mailing list archiveat Nabble.com.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
>
--
View this message in context:
http://old.nabble.com/Tab-Height-increase-tp30303939p30346959.html
Sent from the Flex India mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.