From: Louis B. <lb...@li...> - 2001-06-26 17:53:51
|
I am sure this is a really stupid question. But how do I update things in= =20 the window I create WITHOUT human intervention. Here is what I have for a script: use Win32::GUI; $main =3D Win32::GUI::Window->new( -name =3D> 'Main', -width =3D> 100, -height =3D> 100, -text =3D> 'Louis', ); $main->AddLabel( -name =3D> "Louis", -text =3D> "Hello World 1" ); $sb=3D$main->AddStatusBar( -name =3D> "Status" ); $sb->Text("Some data"); $main->Show(); Win32::GUI::Window(); sub Main_Terminate { -1; } sub Main_Resize { $sb->Move(0, $main->ScaleHeight - $sb->Height); $sb->Resize($main->ScaleWidth, $sb->Height); } Now what I would like to do it periodically update the text in the status=20 bar with out the user getting involved. Thanks, Louis -- =A4=A4=BA=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0= =BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=A4 =A4=B0`=B0Lightbridge, Inc =A4=B0`=B067 South Bedford St. =A4=B0`=B0Burlington MA 01832 =A4=B0`=B0781.359.4795 mailto:lb...@li... =A4=B0`=B0http://www.lightbridge.com =A4=A4=BA=B0`=B0=BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0= =BA=A4=F8,=B8=B8,=F8=A4=BA=B0`=B0=BA=A4=F8=F8=A4=BA=B0`=B0=BA=A4 |