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

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: 14291
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: Sun Oct 04 08:05:19 GMT+2 2026

Total time taken to generate the page: 0.02642 seconds