Works as seen on TV :)
        Do you know if borders between controls added to the Status Bar are
made by offsetting -left value ( -left => $W->  Width() / 3 + 3) or there is
a specific  extended style to make it look 3D-like?
        Thanks

       Igor Anufriyenko
        
       E-mail:[EMAIL PROTECTED]  


-----Original Message-----
From: Eric Hansen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 3:27 PM
To: perl-win32-gui-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Subject: [perl-win32-gui-users] Status Bar properties


Yes you can devide a status bar.   The below code shows how I use half the
status bar for text and half for a progress bar.

$Status = $W->AddStatusBar(
    -name => "Status",
    -text => " ",
    -font => $SFont,
);

$Progress = new Win32::GUI::ProgressBar($Status,
    -name   => "Progress",
    -width  => $Status->Width/2,
    -height => $Status->Height-3,
    -left   => $Status->Width/2,
    -top    => 2,
);


Regards,
Eric 
Garland, Texas USA

Reply via email to