On Sunday 01 March 2009 04:33:52 pm Ed Leafe wrote: > That sounds an awful lot like a VFP mindset. Classes are simply > objects like anything else in Python; they are quick and easy to use. > It's much cleaner to define your customizations in a class and > instantiate that, rather than create an instance and then try to > change it.
Funny, when Larry and I started we created a subclass of dabo.ui.dForm. We were keeping our VFP mind set (almost everyone uses a VFP framework these days - mostly the one Ed helped write). But as we continued to work we realized that we were always changing the subclass forms to match the current need. That's when we decided to start using the Dabo form in the plain way and add the things required for the job. We created a lib of the items normally used (like a toolbar, and special composite controls) and that (so far) has turned out to be very straight forward. That could mean we did not create a very generic dForm subclass or that Ed and Paul created a very good one. You decide. -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
