PDA

View Full Version : move to one TabItem to another



hossaindoula
24 Jan 2010, 2:48 AM
If I have two TabItem and the focus is on the first TabItem, how can I move to second TabItem with the button click event of the first TabItem... The focus should be on the second TabItem...

becevka
24 Jan 2010, 12:50 PM
Inside your button click event handler get tab item from tab panel using its item id or just index then tabPanel.setSelection(tabItem);