Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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.
I tried it and it works perfectly. Thanks for the suggestions and explantion. Have a happy new year!
Chu
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement