Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increase font of the text in the grid?
Message
De
05/01/2023 14:48:48
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/01/2023 14:36:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01685675
Message ID:
01685701
Vues:
30
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform