Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple form question
Message
 
To
30/01/2003 16:15:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00747365
Message ID:
00747611
Views:
18
>>Parameters passed to a form are first available in the form.init() right?
>
>Let's say the parameters are passed to the Form.Init(). They are destroyed afterwards, so the logical thing to do is put code similar to the following in the Form.Init():
>
>
>* Form.Init()
>lparameters tnPar1, tcPar2
>This.nPar1 = tnPar1
>This.cPar2 = tcPar2
>DoDefault()
>...
>
>
>Regards,
>
>Hilmar.

Hilmar,

That is excactly what I did but at a later point I needed the passed parameter in one of the control's init() and this.nPar1 was not defined yet and that is how this whole thing came up.

Thanks for your input.

Einar
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform