MSHFlexGrid1.ColWidth(0) = 0
MSHFlexGrid1.ColWidth(1)=MSHFlexGrid1.width * .10 ' means 10 % of grid
MSHFlexGrid1.ColWidth(2)=MSHFlexGrid1.width * .20 ' means 20 % of grid
MSHFlexGrid1.ColWidth(3)=MSHFlexGrid1.width * .30 ' means 30 % of grid
MSHFlexGrid1.ColWidth(4)=MSHFlexGrid1.width * .38 ' means 38 % of grid
Thats a good example, but i don't know how many fields will be each time when it opens. Because the fields will vary like one time there can be 10 fields but next time there can be 50. So how to fix it with specific field number.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.