Hi,
what if you use vs.dataProvider.removeItemAt(2) to remove completely the form button from your ButtonBar, later you could add it using vs.dataProvider.addItem(yourObject) holpe it helps > > It's unfortunate that it is prevented though, as my goal was to > selectively display ViewStack children buttons (instead of a mere > ViewStack binding that displays buttons for each child), i.e.: > > <ButtonBar id="buttons"/> > <ViewStack id="vs"> > <custom:Chart id="chart" icons="...."/> > <custom:Grid id="grid" icons="..."/> > <custom:Form id="form"/> <!-- The buttonbar must NOT be able to > select this child --> > </ViewStack> > > I wanted my button bar not to show the "form button". > > > –––––––––––––––––––––––––––––– Ernesto Casasín Abaco Digital, SL José Pardo Sastrón, 7, 1 50001 Zaragoza Tel: 34 976 29 79 80 Fax: 34 976 20 48 50 ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

