General discussion


resizing the columns of msflexgrid in vb

By darshan_makadia ·

i am developing an application and i am fetching data from ms access database into msflexgrid and i want to resize the msflexgrid's column size according to the field of the database.

is it possible to do so and if yes then how ?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

resizing the columns of msflexgrid in vb

by DKlippert In reply to resizing the columns of m ...

These references may point you in the right direction:

Use a ComboBox to Enter Data into a FlexGrid Control 201197

Adjust RowHeight of MSFlexGrid to Accommodate WordWrap Q178127

"While filling the grid, if the grid font matches the form font (or any other container that exposes a TextWidth method), you can check to see if the TextWidth of a string is wider than the current column and adjust accordingly.. "

How to quickly dump the contents of ADO recordset into MsFlexGrid


Related Discussions

Related Forums