TabPanel fires a Select event on SelectionChange. Also, it passes a ComponentEvent, not a BaseEvent. You select tab items by calling setSelection on tab panel, not changing the visible state of the tab item. Take a look a the example code in the explorer demo.

I do not want to change the selected tab with 'setVisible' and 'setEnabled', I want to hide them (so the user is not able to select them).

But they remain visible, only the content seems grey (but is still working). The exact same coded worked, when I used myGWT - the tabs were hidden with setVisible(false) and got visible again when selecting setVisible(true) - but this doesn't work any more

Same with the Listeners - myGWT recognized when the user clicked on a tab (the event was fired) - but now, it's completely ignored...

Not able to get any events on the TabPanel or TabItems

Not able to get any events on the TabPanel or TabItems

Hi,

I have used the below code the create a tab panel but i am not able to create events on it.How do get a tab selected event in tabpanel. Can some one help me.I have tried all the events list on TabPanel and TabItem objects but i failed in it.I also tried to put a Component event for it but i am not sure how to do it.

public TabPanel getTabPanel(){
final TabPanel tabFolder = new TabPanel();

Problem with generation events in Tab Panel

Problem with generation events in Tab Panel

Hi

Can anyone tell me how to fire events on a TabPanel items.

I want to have a onTabSelected event in the TabPanel and also when the page loads fully i want to select the first tab item by which I want to fire an onTabselected event and make an RPC call to fetch the tab content.

Is this possible in MyGwt TabPanel..........Below is my code and I add this TabPanel to a contentPanel.I also tried a different approach by adding listeners to the TabPanel and the TabItems but i think it is not working out.