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!

Need DBGrid "WrapText" Synax

Status
Not open for further replies.

tallman64

Programmer
Nov 2, 2000
8
0
0
CA
Hi,

I'm using a DBGrid and under the properties for the DBGrid (property pages, Layout tab) I see a check box for Wraptext.

Can someone help me with the correct syntax to set the "wrap text" property to true (at runtime)?

(i've tried DBGrid.Columns(n).WrapText = True - didn't work)

Thanks,

Chris
 
Found the problem.

the statement did work but the wraptext effect was not visible until the rowheight property was tripled.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top