>>>>>technical answer is because in .init () you used LPARAMETER and not PARAMETER
>>>>
>>>>Are you sure about that ?
>>>
>>>if it is still on the stack, certainly, otherwise why would the OP assume it to be available in the button...
>>>
>>
>>I don't think so, Thomas
>>
>>Parameter makes it a private variable, that goes out of scope when the form's init() returns. The button.Click happens after that
>>
>
>you are right, I did not read slow enough - he wrote about manual clicking, where I fast read button.click() and assumed it to be called from the .init(). Going without coffee has side effects ;-)
Never mind :-)
Gregory