The scrollbargadget only generates events at mouseup, not 'continously' like the
trackbar do. This makes them unusable in applications like mixers, or as in a program
I'm translating, a HSV colorpicker.
The latter uses scrollbars for the HSV values and updates the result continously, but
works differently in PB.
So I hope the scrollbargadget can be made to work like the trackbargadget, and
generate events while a user changes its position.
Scrollbar events
- utopiomania
- Addict
- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
You can through callbacks.
http://www.purebasic.fr/english/viewtopic.php?t=28798
http://www.purebasic.fr/english/viewtopic.php?t=28812
http://www.purebasic.fr/english/viewtopic.php?t=28827
According to Fred this isn't going to change.
http://www.purebasic.fr/english/viewtopic.php?t=28797
http://www.purebasic.fr/english/viewtopic.php?t=28798
http://www.purebasic.fr/english/viewtopic.php?t=28812
http://www.purebasic.fr/english/viewtopic.php?t=28827
According to Fred this isn't going to change.
http://www.purebasic.fr/english/viewtopic.php?t=28797
Re: Scrollbar events
+1
- fires event type
- or SetScrollingCallback function
- fires event type
- or SetScrollingCallback function

-
- Addict
- Posts: 1310
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: Scrollbar events
Try a roll your own
http://www.purebasic.fr/english/viewtop ... 12&t=67411
Sorry for bumping an old thread seems to be a lot of them.
cd
http://www.purebasic.fr/english/viewtop ... 12&t=67411
Sorry for bumping an old thread seems to be a lot of them.
cd
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.