Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a paramater that a control can see in it's init.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00290802
Message ID:
00290816
Views:
22
Hi Chaim,

Thanks for thought. My mission in life is to never use a global, though. I'm sure a new method will come handy some other place as well.

Thanks again.

>Yes, there is a workaround, but it's a little ugly. As you correctly observed, it's too late by the time the called form's Init method executes.
> Instead, create a global or private memvar in the calling form. Then query this memvar in the called form.
> This will work fine as long as you don't have multiple instances of the calling form and multiple instances of the called form.
>Hope this helps.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform