Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Grid Classes Question
Message
From
08/05/1997 04:58:23
 
 
To
07/05/1997 15:10:54
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00031193
Message ID:
00031287
Views:
46
>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
Map
View

Click here to load this message in the networking platform