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