Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids - added a skinny column I want wider
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Grids - added a skinny column I want wider
Miscellaneous
Thread ID:
00096662
Message ID:
00096662
Views:
48
I've got a grid which works wonderfully but... After I'd first got it going I found I needed to add another column. Easy! But my column has a width of 75 but when the form runs the width is only 9. I have a refresh code to check the width is atleast 50 and if not to set it to 50. This works at the grid level, but not if I put it in the columns refresh event.

Any ideas why I need to do that anyway?

I put my grid in a class to get an easy display of what's in the column
ADD OBJECT test.grcmonths.grhmonths AS header WITH ;
FontBold = .F., ;
FontSize = 8, ;
Alignment = 2, ;
Caption = "Months", ;
Name = "grhMonths"


ADD OBJECT test.grcmonths.txtmonths AS txtstandard WITH ;
FontBold = .F., ;
FontSize = 8, ;
Alignment = 1, ;
ReadOnly = .T., ;
Name = "txtMonths"
txtStandard has a default width of 90

Thanks - Sarah :)
Sarah King
pcpropertymanager.com
Next
Reply
Map
View

Click here to load this message in the networking platform