>>>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
Apart from your workaround, you could also transfer some code from the Control.Init() to Form.Init(), or some custom method called from Form.Init().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)