in reply to Re: Object isn't fully affected by the Animate method in Win32::GUI module
in thread Object isn't fully affected by the Animate method in Win32::GUI module
The problem seems to be because it doesn't work with an object that was already shown. I tried to hide it at first, like you, and it worked well for showing, and it also worked for other directions. But if I add a button to hide it, it still suffers from the problem that I mentioned.
Here is the code for hiding button:
$mainWindow->AddButton( -name => 'b2', -text => 'label 1 hide', -pos => [150, 0], -onClick => sub { $mainWindow->label1->Animate( -show => 0, -time => 600, -direction => 'lr', -animation => 'roll', ); }, );
What should I do?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Object isn't fully affected by the Animate method in Win32::GUI module
by Danny (Chaplain) on Aug 11, 2024 at 14:57 UTC | |
by Anonymous Monk on Aug 11, 2024 at 15:11 UTC | |
by Danny (Chaplain) on Aug 11, 2024 at 15:45 UTC | |
by dasgar (Priest) on Aug 12, 2024 at 05:48 UTC | |
by soonix (Chancellor) on Aug 12, 2024 at 06:26 UTC |