Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting cellheight property of msflex grid

Status
Not open for further replies.

shahina

Programmer
Aug 19, 2003
47
0
0
IN
Hi all,

i want to increase the height of the msflexgrid at run time..how can i do this? the data in the grid is some 200 char long and it is not displayed full..how can i make it to show the entire text in the grid? please help..

Thanx in advance..

with regards,
shahina.
 
Cell height is a row property. Try the following code (replace Grid1 with the name of your grid):

Grid1.RowHeight = 600

This code assumes that you are already on the row you want to affect. The 600 was just a general number which I chose. You should adjust it to meet your needs.

The TextWidth function may also prove helpful.

BlackburnKL
 
shahina,
Look at the thread222-864701
It shows how to facilitate showing of entire cell content on the flex grid

vladk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top