Hi guys.

Never mind. All sorted.

As always though, I'm open to a better way if there is one :)

Hi to that guy who's found this searching through Google... See below.

Pete.

----------

// A dialog
var abt = new qx.ui.window.Window("A Modal Dialog");
abt.setLayout(new qx.ui.layout.VBox(10));
var abtL01 = new qx.ui.basic.Label("Some text goes here"); abt.add(abtL01);
abt.setModal(true);
abt.moveTo(150, 150);
this.getRoot().add(abt);

// Create "Help" menu
var helpButton = new qx.ui.toolbar.MenuButton("Help");
toolBar.add(helpButton);
var helpMenu = new qx.ui.menu.Menu();
var aboutDialogLaunch = new qx.ui.menu.Button("About Padded Online", null);
aboutDialogLaunch.addListener("execute", abt.open, abt);
helpMenu.add(aboutDialogLaunch);



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to