>>>>>Okay, so I misremember - I thought it didn't recurse but did use baseclass, and it turns it was the opposite. Oh, well.
>>>>>
>>>>>Yup, tested with my example (the currently open form, I got the grid reference from the debugger, copied to command window, tried, and sure enough works on the whole grid when I stop trying with „Textbox“ as the third parameter.
>>>>
>>>>What happens if you address the parent of the grid instead of the grid? Sry, just not near my VFP but curious.
>>>>Possibly this is an other grid-special-solution?
>>>
>>>Works on the whole page, in my case - all the textboxes, buttons etc.
>>
>>Question was a text box in a container in a container addressed by the thisform.setall
>
>Now this is funny... I tried with the whole form, and everything went bold... except one listbox. Weird.
I found it recursing too. But then it might be the problem the other way around - to much. And still the problem with the class.
I will stuck where I am and stay away. A loop doing the work is not that tricky or slow, and gives better control.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]