in reply to Win32::GUI::Dialog label
Is this what you do?
$lable = $main->AddLabel( ... ) Win32::GUI::Dialog(); $label->Change(-text => "something else");
If it is, that's the problem. The Change() call isn't executed until Perl returns from Dialog(), and that doesn't happen until you terminate the main event loop.
You have to call $label->Text() from within an event handler, like so:
sub SomeButton_Click { $label->Text("Blah"); return(1); }
If that's already the case, my apologies.
/J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32::GUI::Dialog label
by primus (Scribe) on Jan 27, 2003 at 01:30 UTC |