Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a form in a class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00380150
Message ID:
00382784
Vues:
19
Another case I had with a previous client. One form with option group for type of input (can't remember exactly what but somewhat generic). Select an option button and input screen changes slightly. Base form had option group and save/cancel buttons. Three classes (one for each input container). Option group selection added object and named it same regardless. This worked wonderfully. Subclassing the form three times would have been overkill. AddObject was the perfect choice.

>
>One of the cases for AddObject() is assembling the composite classes when it is instantiated. Say, I develop the container class with other classes in it. It makes the development process much easier if I assemble this container with AddObject() in container.Init(). This way in the development process I can have all necessary classes opened with the Class Designer simutaneousely, avoiding the error message "Class .... is in use by MODIFY CLASS"
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform