OK...I wont lie. I am a newbie. I really enjoy perl
because it is a lot easier to learn than C but a lot more robust than VB, so I
really enjoy Win32::GUI (WTG Aldo), but I am in a deadlock momentarily and could
use a little help.
I need to append user input in a text field to a
file.
I know how to do it in straight perl
$file = 'c:\filename.ext';
open (INFO, ">>$file");
@string = <INFO>;
close (INFO);
print @string;
but Win32::GUI is a different animal.
So I created the textfield
$text = $next->AddTextfield(-name
=>"text",
-top => 75, -left => 75, -size => [75,25], -prompt => "user input"); $button1 = $next->AddButton(-text => "Save",
-name => 'Save');
but here is where I get lost. How do I pass the
input from the textfield to a scalar to append to the file when I click the
SAVE button?
RTFM's and links and even a swift kick in the head
(if the answer is "DUH!") are welcome.
Thanks!
Chris
|
- Re: [perl-win32-gui] passing user input from a textfiel... Chris Etzel
- Re: [perl-win32-gui] passing user input from a tex... Robert White
- Re: [perl-win32-gui] passing user input from a... Aaron Smith
- Re: [perl-win32-gui] passing user input fr... Preethi Balaji
- Re: [perl-win32-gui] passing user input fr... Jonathan Southwick
- Re: [perl-win32-gui] passing user inpu... Aaron Smith
- Re: [perl-win32-gui] passing user inpu... Anthony George
- Re: [perl-win32-gui] passing user... Jonathan Southwick
- Re: [perl-win32-gui] passing ... Anthony George
- [perl-win32-gui] Hide & Show ... Aaron Smith
- Re[2]: [perl-win32-gui] passing user input... Cam