Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increase font of the text in the grid?
Message
From
05/01/2023 15:33:24
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
05/01/2023 14:48:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01685675
Message ID:
01685702
Views:
29
>>>>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.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform