Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re-using a form saved as class.
Message
De
09/12/1999 16:57:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00301336
Message ID:
00301341
Vues:
23
Hi Paul,

>I created a form with controls and saved it as a class. (VFP5)
>How do I (visually) create a new form inheriting those properties/methods?

CREATE FORM MyNewForm AS MyClass FROM MyClassLib or set the default form class to this class in Tools>Options, then just create a new class normally.

One thing you may or may not know about the class (hard to tell from your post): your form will only inherit the behavior of your class, not the code (Are you awake Jim? <g>). This means you can't see or edit the existing method codes, but it will run when the form is run.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform