As always, thanks very much for the quick reply and simple solution! Glad to
know I wasn't doing something "wrong".
From: Robert May [mailto:rmay@...]
Sent: Saturday, January 20, 2007 7:26 AM
To: Perl Rob
Cc: Win32 GUI Users Mailing List
Subject: Re: [perl-win32-gui-users] How can I get all the contents of a
Perl Rob wrote:
> Hi all,
> I'm trying to do something that seems real simple: capture the
> contents (all the lines) of a text field and write them to a file.
> Since I can't see a more straightforward way of doing this
$contents = $textfield->Text();
gets all the text in one go.
[snip info about Textfield::GetLine sometimes truncating lines ]
> Am I doing something wrong, or is
> there perhaps a bug in the GetLine() function of Win32::GUI::Textfield?
The GetLine() function is (badly) broken, and I don't see any work-around.
Thanks for the report, I will ensure it gets fixed in the next release.