$status_var=#some_number;
$mw->update;

It would be better if you saved the progressbar widget reference and just
update that.

i.e.

$pb=$mw->ProgressBar(blah blah)->pack(blah);
$status_var=#some_number;
$pb->update;

Jack

> -----Original Message-----
> From: Carlo [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 3:13 AM
> To: [EMAIL PROTECTED]
> Subject: ProgressBar
> 
> 
> Hi there,
> I have a problem using ProgressBar.
> I have created the W. :
> $mw->ProgressBar(
>           -borderwidth => 2,
>           -relief => 'sunken',
>           -width => 200,
>           -padx => 2,
>           -pady => 2,
>           -variable => \$status_var,
>           -colors => [0 => 'blue'],
>           -resolution => $res,
>           -blocks => $blks,
>           -anchor => e,
>           -from => $fromv,
>           -to => $tov
>         )->pack(
>           -padx => 10,
>           -pady => 10,
>           -side => bottom,
>           -fill => 'both',
>           -expand => 1
> but now how should i increnent \$status_var to make the bar work prop.
> thanks 
> carlo  
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to