Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 13975
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: Mon Apr 29 06:14:46 CEST 2024

Total time taken to generate the page: 0.03991 seconds