jettero has asked for the wisdom of the Perl Monks concerning the following question:
use base qw(Wx::ProgressDialog); sub new { my $class = shift; my $max = shift || 10; my $vars = (wxPD_CAN_ABORT| wxPD_APP_MODAL|wxPD_ELAPSED_TIME| wx +PD_ESTIMATED_TIME| wxPD_REMAINING_TIME); my $this = $class->SUPER::new("xp6 progres ($max)", "the progres +s ($max)", $max, undef, $vars); $this->Show(1); return $this; }
Oddly, when I send it updates, it doesn't show up but when I max it out with the last Update(), it suddenly shows up (completed).
I'm guessing it's not showing up because the parent window paramater is undef, but what I'm wondering is if there's a way to pop up a progress dialog without a parent window?
Incidentally, I got this invocation from 215789 and using that example, the dialog definitely works. I'm just trying to do it without the parent window.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Wx::ProgressDialog, please help
by PodMaster (Abbot) on Jul 27, 2004 at 12:49 UTC | |
by jettero (Monsignor) on Jul 27, 2004 at 13:07 UTC | |
by PodMaster (Abbot) on Jul 27, 2004 at 13:12 UTC | |
by jettero (Monsignor) on Jul 27, 2004 at 13:26 UTC | |
by PodMaster (Abbot) on Jul 27, 2004 at 13:41 UTC | |
|