Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing execution parameters to a form in a formset
Message
From
28/09/1998 15:05:20
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141540
Message ID:
00141580
Views:
36
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......???
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform