Hi there. I've some questions regarding development of custom widgets which I hope someone can help me with.
I developing a simple dialog widget which extends Composite. The dialog have a slideDown and slideUp method as well as a overlay which fades in. The dialog's content is set via the setLayout() property. The content should be reset every time the dialog closes. So I'm wondering if it's a good practice to create the dialog and overlay on-the-fly every time when using the slideDown method and then remove it all when using the slideUp method, or does this stuff belong to the Constructor? I also wondering what's the best way to define "this" throughout the widget class? Should I put it in a global variable in the constructor like: dialog = this; or is there a better way? Any help is very appreciated. Thanks! :) -- View this message in context: http://old.nabble.com/A-few-questions-regarding-development-of-custom-widgets-tp26573138p26573138.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
