U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Multi-line entries
Multi-line entries [message #4446] Tue, 08 August 2006 21:53 Go to next message
rbmatt is currently offline  rbmatt
Messages: 90
Registered: July 2006
Location: Tennesse, USA
Member
What would be the easiest way to implement multi-line entries to an ArrayCtrl? By that, I mean if the text being entered it longer than the width of the column, LineCy is increased and the text wraps to a new line. I know I can set a control to use for display and edit, but I don't see how to access the parent to SetLineCy()
Ideas?
Re: Multi-line entries [message #4447 is a reply to message #4446] Tue, 08 August 2006 22:19 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
The only reasonable way (now) is to measure height before setting the data, then use it for SetLineCy.

Mirek
Previous Topic: About the movement of a row in a ArrayCtrl
Next Topic: Margin() for Edit()
Goto Forum:
  


Current Time: Wed May 27 11:15:44 GMT+2 2026

Total time taken to generate the page: 0.00505 seconds