Discussion Locked

resizing the columns of msflexgrid in vb

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi.........

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 ?
bye,
darshan

1 reply

by dklippert

These references may point you in the right direction:

Use a ComboBox to Enter Data into a FlexGrid Control 201197

http://tinyurl.com/2kp9

Adjust RowHeight of MSFlexGrid to Accommodate WordWrap Q178127

http://tinyurl.com/2kpa

"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.. "

http://tinyurl.com/2kp8

How to quickly dump the contents of ADO recordset into MsFlexGrid

http://tinyurl.com/2kp7

Also:

http://tinyurl.com/2kp6

This discussion is closed to new replies.