10-17-2008 04:46 PM - edited 10-17-2008 04:46 PM
Hi! So basically, I have 2 buttons at the top of the screen and a set of buttons inside a HorizontalFieldManager (let's call is Set 1 and 2). Now, when I click on the first button it should show up a Set 1 and then show up Set 2 and remove the Set1 on screen. How do I do this? Thanks!
Solved! Go to Solution.
10-17-2008 05:05 PM
Not 100% clear on your requirements. But review this thread for options:
10-17-2008 05:41 PM
It's like this
When button1 is clicked hide HFMgr2 and show HFMgr1;
[ [bSET1a] [bSET1b] [bSET1c] ] <--- HFMgr1
When button2 is clicked hide HFMgr1 and show HFMgr2;
[ [bSET2a] [bSET2b] [bSET2c] ] <--- HFMgr2
10-17-2008 08:06 PM
The details in the referenced Thread should get you going.
Basically you add and delete Fields.
I would suggest you have a Manager for Set 1 and a Manager for Set 2. Add both Managers to the Screen, with nothing in them,
Make sure Manager 2 is empty (deleteAll) and add the Fields associated with Set 1 to the Manager for Set 1, when these should be displayed - i.e. trigger this with the press of Button 1.
Remove the Fields in Manager 1 and add the Fields associated with Set 2 to the Manager for Set 2, when these should be displayed - i.e. trigger this with a press of Button 2.
Hope this helps.