Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing execution parameters to a form in a formset
Message
De
28/09/1998 15:11:21
 
 
À
28/09/1998 15:05:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00141540
Message ID:
00141583
Vues:
32
>Hi Michel ---
>
>>There are other problems too : if you do not want the form to
>>even initialize depending on the value of some of the parameters,
>>am I right in saying that the only way to do it inside a formset
>>is to have the form initialize as HIDDEN and then either un-hide it
>>or release it depending on what the parameters are ?
>>
>
>I don't think you can prevent the form from Initializing at all but you can hide it. I'm not that familiar with Formsets but an idea has occurred to me: What if you created the Forms as standalone classes (remove them from formset) and then used "AddObject" where appropriate to dynamically add them? I have no clue if this would work but......???

It will. It's actually the way to work with formsets.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform