Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

Krool's VBFlexGrid -How to adjust row height and col width to eliminate grey area?

$
0
0
Hello,

I want my Flexgrid to appear like this, without any grey area.

Name:  fg.jpg
Views: 5
Size:  17.5 KB

I got it by
Code:

fg.ColWidthMin=fg.Width/fg.Cols

fg.RowHeightMin=fg.Height/fg.Rows

fg.ScrollBars=vbSBNone

fg.BorderStyle=FlexBorderStyleNone

I still had to adjust the width and height of Flexgrid, by trial and error, to completely get rid of the grey areas on the right and at the bottom.

Is there some way to do it directly, without all that tweaking?
Attached Images
 

Viewing all articles
Browse latest Browse all 1449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>