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

? Wrapping text in grid column 1

Status
Not open for further replies.

pronghorn

Programmer
Apr 14, 2002
2
CA
I have a narrow column in a form grid; the column is too narrow to display all the characters of the field. I cannot make the column wider because of layout/design issues.

How do I get the data displayed in the column to wrap within the width established for the column?

Thanks in advance.
 
What is in the field - maybe you can use some other trick, like colour or check marks or small field to highlight this column
 
You can chage the font size of just the column, or textbox to a smaller size.
 
You could try this, Add an edit box control...

oGrid.Columns(x).addObject("edtText","EDITBOX")
oGrid.Columns(x).CurrentControl = "edtText"
oGrid.Columns(x).RemoveObject("Text1") &&default control

oGrid.Columns(x).edtText.borderstyle = 0
oGrid.Columns(x).edtText.alignment = 0
oGrid.Columns(x).edtText.scrollbars = 0 && none

oGrid.rowheight= 36
oGrid.columns(1).sparse = .F.

I don't think it looks to pretty but it does work. -Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top