View Full Version : idea please..

05-26-2008, 11:38 AM
Hi all,

Here my doubt is, In a panel based component there is a viewstack which has three VBox.Both the vbox are access by a toggle button bar.Here my doubt is when I click the linkbutton in my first VBox it need to show the result in secondVBox automatically.(ie) when I click the button in firstVBox the secondVBox will be arise automatically with the result.how can I do this.
any idea please?

<mx:ViewStack id="vs creationPolicy="all">

<mx:VBox id="SelectVBox" width="100%" height="100%">
<mx:FormItem label="Begin Year :">
<mx:DateField id="Begin_Year"/>
<mx:FormItem label="End Year :">
<mx:DateField id="End_Year" change="CheckandSend()"/>
<mx:LinkButton icon="@Embed('icon_go.gif')" useHandCursor="true" click="CheckandSend()"/>

<mx:VBox id="chartVBox">

<mx:LineChart id="chart"

<mx:VBox id= "gridVBox">
<mx:DataGrid width="100%" height="100%">