Page 1 of 1

Make TrackBarGadget() support #PB_EventType_Change

Posted: Sun Mar 22, 2020 1:30 am
by BarryG
So we know when its position has been changed, without us having to maintain a "current status" variable to remember the old and new state after detecting #PB_Event_Gadget for it.

There's a deeper topic about it here -> https://www.purebasic.fr/english/viewto ... 13&t=74920

But every post there is just a workaround, when a simple #PB_EventType_Change notification would be great. Sometimes you just need to know if it's been moved, rather than care what value it now is, and watching old/new values is the extra code needed at the moment to find out. Thanks.

Re: Make TrackBarGadget() support #PB_EventType_Change

Posted: Sun Mar 22, 2020 11:50 am
by nsstudios
+1