Attaching Event to Tabbar


Hi,



How can i attach events to Tabbar created like this



var dhxWins1 = new dhtmlXWindows();



dhxWins1.setImagePath(“imgPathWindow”);



dhxWins1.setSkin(“c594”);



Window1 = dhxWins1.createWindow(“Window1”, 240, 50, 600, 500);



Window1.setText(“Win1”);



tabbar = Window1.attachTabbar();



tabbar.setImagePath(“imgPathTabbar”);



tabbar.setSkin(“c594”);


layoutNew = tabbar._cells(dhxWins1, “New Tab”).attachLayout(“2E”, “c594”);



Thanks.


Hello,


you can use the same approach as for tabbar created bydhtmlXTabBar


tabbar.attachEvent(“onSelect”,handler)