When the gui window is created the program enters a messaging loop.  It
processes events that the gui window fires off.  If you create a gui window
but don't fire off any events the program won't do anything.  You need to
fire off an event so that your script can process the rest of your script.
You fire events by clicking on things (buttons, labels), resizing the
window, closing the window, etc., etc.  So you can either put a button on
the gui window that when clicked runs the ftp transfer, or I believe there
is an _Activate event so that when the window is created you can start the
ftp transfer.

Hopefully, that explains what is happening.

Jeremy Blonde

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Jeremy Aiyadurai
Sent: Monday, April 23, 2001 4:18 PM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: [perl-win32-gui-users] Gui-program problem



Hello all

I can't get my script to work with the gui windows, when the gui sub
routine gets called and the windows gets created, the program freezes and
script does not continue

I have not done win32::Gui programming before so your help is always
appreciated.

See the script attached.

Thankyou

Jeremy


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Reply via email to