Re: [perl-win32-gui-users] progress bars
Hi, Do something like this: for (0..100) { $Wmain->Progressbar->StepIt(); Win32::GUI::DoEvents(); #your work here } Cheers, jez. From: "Chris" <[EMAIL PROTECTED]> To: Subject: [perl-win32-gui-users] progress bars Date: Wed, 1 Oct 2003 15:13:13 -0700 Okay, I'm working on making a progress bar that works, however, this code won't let my progress bar show. If someone could help, I would very much appreciate it. $Wmain->AddProgressBar( -name => "Progressbar", -top => 15, -left => 10, -smooth => 1, -visible => 1, ); $Wmain->Progressbar->SetRange(0, 100); $Wmain->Progressbar->SetStep(1); $Wmain->Progressbar->SetPos($bwl1); Thanks --Chris _ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband
[perl-win32-gui-users] Memory usage
The memory usage of my poller is increasing by about 200k between polls. Maximizing and then minimizing the poller reduces the incremented memory usage down to 196k. I tried minimizing the poller between polls: $w->CloseWindow();$w->Show(); But this doesn't release the incremented memory. Any ideas? _ Unsatisfied with being single? Try MSN Personals http://www.msn.co.za/personals/
RE: [perl-win32-gui-users] Memory usage
Maybe something in a _Click event that triggers the memory flush? Just guessing... -Original Message- From: carollyne courtney [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 7:37 AM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Memory usage The memory usage of my poller is increasing by about 200k between polls. Maximizing and then minimizing the poller reduces the incremented memory usage down to 196k. I tried minimizing the poller between polls: $w->CloseWindow();$w->Show(); But this doesn't release the incremented memory. Any ideas? _ Unsatisfied with being single? Try MSN Personals http://www.msn.co.za/personals/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users