>>Basically, Vlad, just laziness. It's easier to type a variable name than formobject.formproperty, it adds an extra step or two to store the variable, and more than a couple of steps to make sure you have the form property, remember the spelling, etc.
>:)) What about the programmer that will eventually come after you... A variable is declared in the Init method and used in any other place at form level (in any other method of any other object contained in the form, too?) and after that we extend this rule to any other object (variables scoped to label level?:)), etc... I have enough problems with the programs I have to modify and which are full of all kind of smart variable uses... :) What a nightmare! :) Am I dreaming? :) Do we scope variables to data sessions too? Brrrr
>>In addition, I've had trouble in a few places with arrays not working too well as form properties, so I end up copying them back to local variables.
>
>I agree. These arrays are a weird animal who didn't adapted too well in the FoxPro biodome! :)
>
>Vlad
Valid points, Vlad. You DO have to draw the line and making variables local to a method seems to be a good place. I guess I've just been hassling too many of those pesky arrays lately.
Barbara