wxSpinCtrl and wxSlider SetValue()

ashishiworx at gmail.com ashishiworx at gmail.com
Mon Mar 3 12:47:38 PST 2008


On Mar 3, 11:46 am, Gregory.A.B... at gmail.com wrote:
> I'd like to programatically set the value of a spin control or slider
> using SetValue(), but I'd like to know if it will trigger an event
> when I call it? If it does trigger and event, how can I prevent that
> event from executing?
> I have a slider and a spin control, both of which use the same value.
> When one changes, I change the other. Is it possible to set the values
> of these without triggering an event?
> -Greg

Hi Greg,
   the slider and the spincontrol do not trigger an event when you
call SetValue().

-ashish






More information about the wx-users mailing list