>>>Any way to get the width of the used portion of the grid control? I feed various record sets to a dynamic form and want to get a good aesthetic look and feel going. And narrow recordsets look poor when half of the controls width is unused. I have made it resizable andf I have all of that worked out, I am looking for that initial impression.
>>
>>Using the RowHeight property and the Rows property, you can surely find the actual height of the content.
>
>Yes, the height is no problem. There is a LeftCol property wich returns or sets the left-most visible non fixed column in the MSHFlexGrid. Unfortunately there is no RightCol property.
Can't you ask for the Left property of a particular column?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com