Hi,
In the docu or in the example browser all looks very easy but I have the
biggest problems to define a simple click function.
I have the following:
var anwMenu = new qx.ui.menubar.Button("Anwendungen",
"resource/icon/tango/16/actions/bookmark-new.png", getAnwMenu());
anwMenu.setCursor('pointer');
menubar.add(anwMenu);
function getAnwMenu(){
menuAnw = new qx.ui.menu.Menu;
var staButton = new qx.ui.menu.Button("Standbuch",
"resource/icon/tango/16/actions/bookmark-new.png");
var zucButton = new qx.ui.menu.Button("Zuchtbuch",
"resource/icon/tango/16/actions/bookmark-new.png");
menuAnw.add(staButton);
menuAnw.add(zucButton);
staButton.addListener("click", stafunction);
return menuAnw;
}
function stafuntion(){
staWin.show();
}
Error:
Das Object unterstützt diese Eigenschaft oer Methode nicht. Line 111
The object don'suprt this roperty or method;
Line 111 is this (the end of the window defination):
staWin.setSize(24); <----- this is 111
//staWin.show();
this.getRoot().add(staWin, {left:150, top:70});
Such a
fine framewok and such a stupid user!!!
Many thanks
Josef
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/simple-click-function-tp5970828p5970828.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel