Hi Tim!
On 11 ÑÎ× 09 at 05:32, "Tim" (Tim Gimmel) wrote:
Tim> Dmitry, Is there a way to suppress events? I have 3 widgets: 2
Hello Tim,
No, there's no built-in method for suppressing events. You might want
to choose whether to update or not update other widgets based on
a lock flag, something like the following:
sub update_all
{
$self-> {slider_lock}++;
$slider1-> value(1);
$slider2-> value(2);
$self-> {slider_lock}--;
}
sub Slider1_onChange
{
return if $self-> {slider_lock};
$slider2-> value(3);
}
(it won't work just that, it's a demo for the concept).
-- Sincerely, Dmitry KarasikReceived on Sun 11 Jan 2009 - 09:55:30 CET
This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET