Re: [perl-win32-gui] Event processing

2001-01-04 Thread Kevin . ADM-Gibbs
ed much messier than just avoiding the event loop altogether. Kev. [EMAIL PROTECTED] on 03/01/2001 18:31:44 To: [EMAIL PROTECTED] @ INTERNET cc: Subject: Re: [perl-win32-gui] Event processing okay, i think i see what you mean...you want a GUI that starts a loop which can conditionally sp

Re: [perl-win32-gui] Event processing

2001-01-03 Thread Robert Sherman
okay, i think i see what you mean...you want a GUI that starts a loop which can conditionally spawn a second window, and when that second windows is closed, it returns to the loop and continues processing... i can't figure it out either...my current theory is that since the Loop_Click event has

Re: [perl-win32-gui] Event processing

2001-01-03 Thread David Hiltz
okay, i think i see what you mean...you want a GUI that starts a loop which can conditionally spawn a second window, and when that second windows is closed, it returns to the loop and continues processing... yes. i can't figure it out either...my current theory is that since the

Re: [perl-win32-gui] Event processing

2000-12-27 Thread David Hiltz
You have taken out the looping which is why it works. This is not what I wanted. I wanted to loop a set number of times and stop under a given condition to display my own window. Example, I want to read in lines from a file and check the lines for errors. If an error is found I

Re: [perl-win32-gui] Event processing

2000-12-15 Thread Robert Sherman
you did not call dialog() for the second window: sub Loop_Click { foreach $i (0 ... 3) { Show_Win2($i); sleep 1; } Win32::GUI::Dialog(); ##add this and it works } -rob David Hiltz wrote: Below you will a small Win32::GUI program that displays a window with a

Re: [perl-win32-gui] Event processing

2000-12-15 Thread David Hiltz
you did not call dialog() for the second window: When I do that it still doesn't stop on each window. I'm running Win32-gui 0.490. If I move the Win32::GUI::Dialog() after this line: $Win2-Update(); It does stop but it also does very strange things (like doesn't let me

Re: [perl-win32-gui] Event processing

2000-12-15 Thread Robert Sherman
oops...that's odd, because i was sure i had gotten it to work...oh, well...how about this: use Win32::GUI; $i=0; $Win = new Win32::GUI::Window( -left = 341, -top= 218, -width = 300, -height = 213, -name