Hi,

 Thanx, that solved my problem neatly.

Rajesh J
--- In [email protected], Matt Chotin <[EMAIL PROTECTED]> wrote:
> Have you looked into using a ViewStack and simply changing the
> selectedIndex?
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Rajesh Jayabalan
> Sent: Monday, May 02, 2005 2:12 PM
> To: [email protected]
> Subject: [flexcoders] Menu controlled panels
> 
>  
> 
> Hi,
> 
> I am trying to create an application with a menubar and a set of
> menuitems. For each menuItem I should show a panel (filled with its
> specific information) ex
> 
> Menu Item : Find Orders  -- Panel-1 : FInd orders panels with all the
> searchable fields and stuff
> 
> Menu Item : Create Order  -- Panel-2 : A panel in which the user can
> enter information for creating a new order.
> 
> When panel-1 is shown panel-2 cannot be shown and vice versa.. also
> both the panels should occupy the full screen (except the menubar
> ofcouse).
> 
> I have got to a point where from the menubar on change method I call a
> function .. I am not sure how to send the panel as a parameter and if
> itis sent as an object how to convert it back to panel object so I can
> do this in the function
> 
>                 p2.visible= true;
>             p2.height="100%";
>             p2.width="100%";
>             p1.width="0";
>             p1.height="0";
>             p1.visible=false;
> 
> Regards
> Rajesh J
> 
> 
> 
> 
> 
> 
>   _____  
> 
> Yahoo! Groups Links
> 
> *     To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> 
>   
> *     To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>   
> *     Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.





 
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/
 



Reply via email to