Hi Claudio,
I really don't see how it can work...unless you are doing the scatter OUTSIDE of the form (or at the command prompt). Are you sure that a scatter doesn't occur before the form starts loading?
>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
Steve Gibson