Re: [qooxdoo-devel] Button event handling question

2009-01-02 Thread nislim
Thanks, that worked for me. -- View this message in context: http://n2.nabble.com/Button-event-handling-question-tp2095891p2102403.html Sent from the qooxdoo mailing list archive at Nabble.com. -- _

Re: [qooxdoo-devel] Button event handling question

2009-01-02 Thread nislim
Thanks, that worked for me. -- View this message in context: http://n2.nabble.com/Button-event-handling-question-tp2095891p2102223.html Sent from the qooxdoo mailing list archive at Nabble.com. -- _

Re: [qooxdoo-devel] Button event handling question

2009-01-02 Thread nislim
Thanks, that worked for me. -- View this message in context: http://n2.nabble.com/Button-event-handling-question-tp2095891p2102221.html Sent from the qooxdoo mailing list archive at Nabble.com. -- _

Re: [qooxdoo-devel] Button event handling question

2009-01-01 Thread nislim
ething like this: > > for (var in list){ > var Button = new qx.ui.menu.Button(list[var], null, this.debugButton); > > Button.addListener("click", function() { >Button.createObjectWindow(Button.getLabel()) > }) > > menuBar.add(Button); > } >

[qooxdoo-devel] Button event handling question

2008-12-31 Thread nislim
I want to load buttons from an RPC-Backend, this goes fine. But i don't know how to retrieve the name or the value of the button. This is the code i use: for (var in list){ var Button = new qx.ui.menu.Button(list[var],null, this.debugButton); var ButtonAction = function(e) { this.creat

[qooxdoo-devel] Qooxdoo application in iframe

2008-10-24 Thread nislim
Is it possible that a qooxdoo application doesn't run within an Iframe? -- View this message in context: http://www.nabble.com/Qooxdoo-application-in-iframe-tp20155868p20155868.html Sent from the qooxdoo-devel mailing list archive at Nabble.com.

Re: [qooxdoo-devel] Menubutton error

2008-10-20 Thread nislim
Thanks for the reply but now I have another problem: This works: var menuAction = function(e) { alert("You clicked me!"); }; var ClickMeButton= new qx.ui.menu.Button("Click me",null, this.debugButton); ClickMeButton.addListener("click",menuAction); But var menuAction = function(e) { thi

Re: [qooxdoo-devel] Menubutton error

2008-10-07 Thread nislim
Matthew Gregory wrote: > > Hi nislim, > Try changing this.createFileMenu() to this.createFileMenu. > You don't want to call the function here you just want to reference it. > > Also instead of trying to get the document width have you tried > something like this?

[qooxdoo-devel] Menubutton error

2008-10-05 Thread nislim
This is the code i use to generate a simple menu: CreateMenu : function() { if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") { winW = window.innerWidth; }