Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a method to a form of a formset
Message
 
À
29/12/1997 18:10:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00068329
Message ID:
00068373
Vues:
24
>I try to add a new method to a particular form of a formset. However, it only allows me to add a method to the formset. Does anyone know how I can add a method to a form but not to the formset? Thanks.
>
>Chu
Chu,

Nancy has told you how to do what you want, let me give a little why to it. VFP allows the addition of properties and methods to the outer most container in its designers. That is in teh form designer and in the class designer. If you are designing a single form with the fomr designer you can add props and meths to the form but not to any of the objects contained in the form. If you are designing a formset, then the limitation is to the formset and not to any of the forms or the objects in those forms.

The same is true for the class designer, you can only add props and meths to the outer most container for the class.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform