From: Anufriyenko,Igor,SOLON,ITSS <igo...@us...> - 2002-06-26 14:17:37
|
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:igo...@us... -----Original Message----- From: Eric Hansen [mailto:Ha...@sw...] Sent: Tuesday, June 25, 2002 3:27 PM To: per...@li...; igo...@us... 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 |