I forgot, the error I get is FileMenu.getInstance() has no properties. On 7/19/07, Dan <[EMAIL PROTECTED]> wrote: > This code: > > this.add(new qx.ui.toolbar.MenuButton("File", > custom.ui.menus.FileMenu.getInstance())); > > In a class extending the toolbar works fine, however this code: > > var mb = qx.ui.toolbar.MenuButton; > var m = custom.ui.menus; > > this.add(new mb("File", m.FileMenu.getInstance())); > > only works in source version. Took me a a while to figure out why my > build version was broken. Is there a way I can use shortcuts that > would work in the build version too? >
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel