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 14:48:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
05/01/2023 14:36:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01685675
Message ID:
01685701
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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform