Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Grid Classes Question
Message
De
08/05/1997 04:58:23
 
 
À
07/05/1997 15:10:54
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00031193
Message ID:
00031287
Vues:
44
>Ok, this is probably an easy one.
>
>I've been converted to loving (at least seriously liking) custom classes when developing my forms to avoid duplicate work, especially formatting.
>
>My forms need a bunch of grids so I created a grid class with specific formatting of column/text fonts etc. but it looks like this will only work if the grid I create on the form has the exact same number of columns as the grid class, i.e. it won't let me change the number of columns in the form grid instance. Am I correct? Is there any way around this so all of my grid columns are "Arial 8 bold"?
>
>thanks! You guys are a wonderful wealth of info.
>
>Mandy

Mandy:

Check out the SetAll property--you can populate your grid with columns and then use this property to set all the controls to the desired font. I, for example, have a line in my sub-classed grid control to SetAll BackColor of all headers to yellow . . . .

HTH.

John
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform