>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement