Hi Steve,
>
>This code does not work for me (VFP6). The variables go out of scope, and in the click() method an error occurs.
>
Really look strange, I've been using here a VFP6/SP5 and I did not get any error message.. And all that I did was posted here.. And I have many and many programs working like this.. Veeeeeery curious :))
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20