Jean MAURICE wrote:
> Joe,
>
> in addition :
>
> - you can write your own classes in more than one .prg : for example one
> .prg for all your standard classes ('standard_joe.prg'), a second one
> with all the classes linked to a particular app (standard_myapp.prg)
> (and these classes can be instances of classes in standard_joe)
>
> - try to built a 'hierarchy' : first just build a subclass of textbox,
> let's say textbox_joe without any new property or method; second build
> numerical_textbox based on textbox_joe with some properties and methods
> dealing with numbers; then your numerical_plus_textbox based on
> numerical_textbox in wich you will add the properties and methods to
> manage your '+', and calculator, ... In some days you will have to build
> a "telephone_textbox" to deal with telephone numbers, a 'zip_textbox', ....
>
> Very quickly, you will see that you build a lot of classes, and having
> them well 'sorted' is very important.
>
>Most devs would use a VCX for your form controls like grids and textboxes though so you didn't have the nit-picky details to handle (like adding columns to grids...much better to let VFP do that for you in the VCX rather than stick-build in a PRG). Ymmw. Cheers! _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

