avilanchee
28 May 2009, 10:54 PM
needed help in handling cloe event in a tabitem .
Thanks
Avinash
micgala
2 Jun 2009, 12:19 AM
Hi.
For listening to a close tab event, you need to add this listener to your TabPanel:
addListener(Events.Remove, closingListener);Where closingListener is:
private Listener<TabPanelEvent> closingListener = new Listener<TabPanelEvent>() {
public void handleEvent(TabPanelEvent be) {
TabItem tabItem = be.getItem();
//handle it the way you need
}
};
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.