oops ... the event that I used was "click" and not "execute", explained why
this is my problem. : P
From: [email protected]
To: [email protected]
Date: Wed, 21 Jan 2009 10:31:40 +0100
Subject: Re: [qooxdoo-devel] Problem TabView in Window @ Click of button
you jonathan,
I did just as you said yourself.
But we need to destroy this method applied to the call window, without this,
the window is invoked only once.
Thank you.
Regards
Old Marco
> From: [email protected]
> To: [email protected]
> Date: Wed, 21 Jan 2009 10:07:43 +0100
> Subject: Re: [qooxdoo-devel] Problem TabView in Window @ Click of button
>
> Hello Marco!
>
>
> At first you have to create your window in order to place the TabView
> in it. Please note that the Window needs a layout before you can add
> widgets to it. This might be the error you found through debugging.
>
> -- snip --
> this.__window = new qx.ui.window.Window(
> "My Window",
> "icon/16/categories/internet.png"
> );
> this.__window.setLayout(new qx.ui.layout.VBox(10));
> -- snap --
>
> After that you can put any widget in your window:
>
> -- snip --
> var tabview = new qx.ui.tabview.TabView();
> this.__window.add(tabview);
> -- snap --
>
> For more information about Window and TabView have a look at our
> Widget Reference:
> http://qooxdoo.org/documentation/0.8/widget/window
> http://qooxdoo.org/documentation/0.8/widget/tabview
>
>
> To show a window after a button is clicked you have to add an listener
> for the "execut" event to the button:
>
> -- snip --
> var button = new qx.ui.form.Button("My button");
> button.addListener("execute", this._openWindow, this);
> -- snap --
>
> You need a method whichs shows the window:
>
> -- snip --
> _openWindow : function(e)
> {
> this.__window.open();
> }
> -- snap --
>
>
>
>
> Kind regards,
> Jonathan
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
What can you do with the new Windows Live? Find out
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/photos.aspx------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel