Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Browser/ViewCode.prg errors!
Message
De
16/12/2003 19:03:34
 
 
À
16/12/2003 15:57:44
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00859638
Message ID:
00859721
Vues:
15
>Thanks for that insight. It sure curtails my desire to get where I want to from that angle. What might you suggest for duplicating classes in class libraries? I have a class that is really a form that I want to use parts of in multiple other classes. This is not like a class/sub-class situation, more of turning a complicated form into several simplified forms.

The way to do this is to have all contains be separate classes, then add instances to a form. For example, you have to create a Page class and add controls, then add that page class to a pageframe class, then add that pageframe class to a form. Then when you output the source to a PRG, it will map properly to DEFINE CLASS since there won't be any attempt to add objects to other objects in the class definition.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform