Information générale
Catégorie:
Codage, syntaxe et commandes
>>>Sylvia,
>>>
>>>Just wanted to add to what David says, that if you will often use many different form classes, for example, BaseForm class, OneToMany form class, Modal form class and so on, you may not even bother with assigning one of them as a Template. Just create default VFP form, drag and drop your form class on it (that's where it asks you to create a formset), then select default form, go to Form menu, remove form, then remove formset. It is very fast procedure.
>
>>Nick -
>>
>>The first part is almost exactly what I did. I need to create a number of forms with the same charactertistics. But why do you say to go through the rest of the steps (select default form, go to form menu, etc, and remove formset)? What is the purpose of that?
>
>I mean when you create the SCX, based on your form class (unless you create a form instance with CREATEOBJECT) Probably you need just your form, not the formset with your form.
Nick -
Thanks, I was a little confused by what you meant, but then went back to look at my form properties and saw I had a formset and the original form I dropped the form class on, so I deleted both of those.
Sylvia
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