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.
--
_
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.
--
_
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.
--
_
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);
> }
>
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
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.
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
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?
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;
}