General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>>>>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 ;-)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only