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 » Wrapping text in ArrayCtrl cells
Re: Wrapping text in ArrayCtrl cells [message #31282 is a reply to message #31103] Fri, 18 February 2011 13:06 Go to previous message
mirek is currently offline  mirek
Messages: 14258
Registered: November 2005
Ultimate Member
kropniczki wrote on Fri, 04 February 2011 10:34

Actually, I did a few tests in which I prompted the de->GetLineCount() and it ALWAYS returns 1, for every DocEdit, be it in an ArrayCtrl or not! Isnīt TextCtrl::GetLineCount() supposed to return the current number of text lines in the TextCtrl?



Well, it can be a little bit confusing, but it actually returns a number of paragraphs. But then, this is the main difference between DocEdit and LineEdit - DocEdit treats lines (defines as something that ends with '\n'), LineEdit as lines (does not do wordwrap).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl with Option problem under linux
Next Topic: Newbie question: ArrayCtrl::IsModified(int ii) not work at expected.
Goto Forum:
  


Current Time: Wed May 14 06:00:59 CEST 2025

Total time taken to generate the page: 0.04243 seconds