Do you mean enabled or visible? If you want the tab content to look different, use a ViewStack, If you want to enable/disable just part of the page, don't enable/disable the tab, enable/disable the individual Hbox. Tracy
-----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sandip_patil01 Sent: Sunday, September 25, 2005 1:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to enable and disable Hbox Hi All, I am pretty new to this Flex.Here what I want is, I have 1> datagrid populated with data 2> tabNavigator contaning three buttons First,Second & third on the tab with label "Second" I have a mxml page which is divided in two parts. <mx:HBox width="100%" height="100%" label="Create"> <mx:HBox width="100%" height="100%" label="Details"> Now when I select row from datagrid that time tab entitled "Second" is enabling with also "Details(i.e.HBox)" is enabling showing records there from datagrid. Now when I click on tab entitled "First" which has a button.When I click on that button tab entitled with "Second" should be enabled but this time "Create(i.e.HBox)" should only enable. My prob is here this both "Create & Details" are on same page. So how to differentiate them so that when I select row from datagrid records will display in "Details" Hbox(which I done). But Now How to seperate the "Create" HBox as both are on same page. Thanks in advance, Sandip Patil. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/