Hi Brendan, There are (of course) several ways you could do this. For a completely dynamic case (which we're also doing in our application), we end up setting the button's "automationID" to the string form of the attached card pane's index. Then in the "buttonPressed" method, we decode the "automationID" and set the card pane index to that value. I'm sure there are other ways, but this works very easily for us.
HTH, ~Roger Whitcomb -----Original Message----- From: ccp999 [mailto:[email protected]] Sent: Tue 8/7/2012 4:56 AM To: [email protected] Subject: How to bind a button group to Card Pane? Hi, Card Pane use index to do the switch and button group return Component Button when selected button switched. If in dynamically case, how can I bind a particular button to a particular pane in a card pane? Brendan -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-bind-a-button-group-to-Card-Pane-tp4022009.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
