>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only