Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub-Classing
Message
De
04/02/1999 09:45:54
 
 
À
04/02/1999 09:35:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00183841
Message ID:
00183849
Vues:
17
>Hi --
>I am very interested in learning the mechanics behind sub-classing, however, I could use a little advice from the developers on this thread. Everyone I have talked to on UT has said how crucial it is to have sub-classing, and that simply using base classes is not enought to create powerful applications.
>
>I am still not clear on the best way to tackle this project. I have an application that I have created all my table, joins, validations, input masks, data types, indexes, etc. I am at the point where I want to move on, but I seem to be stuck in a ditch, b/c the next step in unclear.
>
>I have been instructed me to make all my classes, OLE Public.
>
>1. Do I make my base classes OLE Public, or my sub-classes?
>
>2. Do I have to know exactly how I want my forms to work before i can create sub-classes? I think the problem I am having, is that I don't know what sub-classes to create, or what to name them for that matter. I haven't done this before, so I don't know what I am trying to accomplish.
>
>I know that my second question is a little vague, but I would appreciate any thoughts or advice you have on how I should go about creating sub-classes, and what I need to do to make that happen.
>
>Thank you for any assistance
>
>Jason

Actually, subclassing aloows to speed up development process. However, you can still create powerful application using VFP base classes, and I think it's preferable way to proceed developing first VFP application.
You're right saying that you have to know exactly how you want forms to work before creating sub-classes etc. Basically, you should have some application design before you start coding.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform