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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using Microsoft FlexGrid 6.0

Status
Not open for further replies.

tyedyejenn

Programmer
Jun 14, 2000
35
US
Can you change the cell width of 1 particular cell based on the length of the text that populates that 1 cell?
 
Please try Colwidth(&lt;your Cell reference&gt;) = Len(&lt;of your text&gt;)<br>If I am not wrong to understand your question.
 
I think the cell width is in twips/pixels/something - and not characters. So you'll have to use a non-proportional font and work out how many twips per character first of all.<br><br>I'm not aware that you can change the width of just one <b>cell</b> -- you can change the width of a whole <i>column</i> but I'm not sure how you'd change just the one cell.<br> <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top