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 #31103 is a reply to message #31102] Fri, 04 February 2011 16:34 Go to previous messageGo to previous message
bushman is currently offline  bushman
Messages: 134
Registered: February 2009
Experienced Member
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?
The Upp Text.h code source gives me something like
 int GetLineCount() const { return line.GetCount(); } 
, where
Vector<Ln> line;
is a Vector, in which apparently each Ln struct corresponds to a wrapped line string in the TextCtrl view. How come it always return 1?

Thank you again
 
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 05:26:12 CEST 2025

Total time taken to generate the page: 0.02793 seconds