Re: History with MenuBar

2009-10-09 Thread YoeZ
MenuBar or MenuItem only support addCloseHandler. On Oct 8, 7:07 pm, Robin redir...@web.de wrote: you can register a ClickHandler to your MenuItems. instead of:    MenuBarfooMenu = newMenuBar(true);     fooMenu.addItem(the, cmd); try: MenuItem the = new MenuItem(the);

Re: History with MenuBar

2009-10-09 Thread Thomas Broyer
On 8 oct, 06:51, YoeZ juz...@gmail.com wrote: can anyone tell me how to create history with menubar? i've seen sample in showcase, that's not menubar, but treeitem which support onselectionhandler. in menubar, only support anclosedhander hmm.. please help me.. Er, include a call

Re: History with MenuBar

2009-10-08 Thread Robin
) { History.addItem(the); //do something else } }); On 8 Okt., 06:51, YoeZ juz...@gmail.com wrote: can anyone tell me how to create history with menubar? i've seen sample in showcase, that's not menubar, but treeitem which support onselectionhandler. in menubar, only support

History with MenuBar

2009-10-07 Thread YoeZ
can anyone tell me how to create history with menubar? i've seen sample in showcase, that's not menubar, but treeitem which support onselectionhandler. in menubar, only support anclosedhander hmm.. please help me.. thanks --~--~-~--~~~---~--~~ You received