Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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 ;-)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement