>>>>Help SetAll
>>>>to ease the running effort
>>
>>>I'm not that into SetAll. SetAll was not recursing into inner containers for what I remember. For grid.column_n.text.fontsize the container is the column.
>>
>>*--- just anything to browse against
>>SELECT Textgruppe, SUM(betrag), COUNT(*) ;
>>FROM t_bank WHERE LEFT(Textgruppe, 3)="noI";
>>group BY 1 ;
>>order BY 2 desc
>>BROWSE LAST NAME oBr NoWait
>>set step on
>>*-- Now in Single step to witness effect...
>> obr.SetAll("Fontsize", 20)
>>obr.SetAll("Fontsize", 12)
>>obr.SetAll("Fontsize", 20)
>>obr.SetAll("Fontitalic", .t.)
>>obr.SetAll("Fontsize", 12)
>>
>>works here in quickcheck
>>//upd: vfp adv 10.00.0000.2010
>>doubt my memory is THAT frail as to not work in vfp orig
>>upd//
>
>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?
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]