Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing execution parameters to a form in a formset
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141540
Message ID:
00141595
Views:
30
>>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 and John,

I'm interested in your two replies. John, from your reply it would
seem you have not worked much with formsets. Any reason why ?

Edward, on the other hand you do seem to have worked with formsets.
Any advice on when formsets are appropriate, their advantages,
and inconveniences ?

Thanks.
Michel.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform