Re: Getting the number of lines (entries) in a textarea widget
"Tony Cappellini" <[email protected]>
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
> self.components.yourComponentNameHere.getNumberOfLines() should work. > If it doesn't, then I would like to know what the line endings are as > well as which platform and versions of wxPython and PythonCard you're > using. The platform is Windows The line endings are "\n" Wx version 2.8.4.2 Pythoncard version is the latest 0.8.2 I've just tried this again today- while verifying the line endings, and getNumberOfLines() is returning a valid number instead of 1 I'll keep watching this to see if it changes ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/