Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Grid Classes Question
Message
 
À
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:
00031504
Vues:
48
>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

I'm going to stick with Barbara on this one because if you use the .AddColumn() method (or set the .ColumnCount property), you cannot add any code to thinks like the .Click() method of the header which I do use. My master grid does have more than 10 columns, but it also contains code in the Headers.

Steve Despres
EZ Data Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform