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.
>   
Just for the sake of argument. I didn't want to "change" the instance,
notice I was not adding new functionality to the form, just manipulating
it's properties, and that's what an instance is for. The suggested way,
and I guess this is just a matter of personal taste, feels to me like
over-subclassing. Of course I would subclass if I needed functionality,
or new properties, or to override behaviour. But this was not the case,
I just wanted to use the dForm as it is, and instantiating seemed the
natural thing to do.

Ricardo


_______________________________________________
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]

Reply via email to