I am sure this is a really stupid question. But how do I update things in
the window I create WITHOUT human intervention.
Here is what I have for a script:
use Win32::GUI;
$main = Win32::GUI::Window->new(
-name => 'Main',
-width => 100,
-height => 100,
-text => 'Louis',
);
$main->AddLabel(
-name => "Louis",
-text => "Hello World 1"
);
$sb=$main->AddStatusBar(
-name => "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
bar with out the user getting involved.
Thanks,
Louis
--
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤
¤°`°Lightbridge, Inc
¤°`°67 South Bedford St.
¤°`°Burlington MA 01832
¤°`°781.359.4795 mailto:[EMAIL PROTECTED]
¤°`°http://www.lightbridge.com
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤