Hi,
I want to create toolbar and toolbarbutton i tried this lots of ways but couldn't get through it. so plz help me.
I've taken group and i wanted to add in the group. I've written the following code but it's not working at all.
IWDToolBar Tbar = (IWDToolBar)
view.createElement(IWDToolBar.class,"tbhead");
IWDToolBarButton theToolButton = (IWDToolBarButton)
view.createElement(IWDToolBarButton.class,"toolbutton");
Tbar.addToolBarItem(theToolButton);
tablegroup.addChild(Tbar);//IN THIS SENTENCE IT'S NOT ALLOWING ME TO ADD CHILD OF GROP.