Hi Daniel,
Thank you for your answers.
d_wagner wrote:
>
> Generally, you want to reuse widgets if you can because creating and
> disposing them is fairly expensive in terms of processing time and
> memory usage. I'd create the widgets in the constructor and just set
> their content/visibility/whatever properties in the slideUp and
> slideDown methods.
>
Okey, I'll do it that way.
d_wagner wrote:
>
> Hmm, global variables are almost never a good idea. What are you trying
> to achieve with this?
>
I see. I try to get "this" or the widget inside an event, like this:
fade.addListener("finish", function(e) {
this.hide();
overlay.hide();
});
Thanks! :)
--
View this message in context:
http://old.nabble.com/A-few-questions-regarding-development-of-custom-widgets-tp26573138p26575739.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel