Page 1 of 1

Make the SpinGadget work equal on all platforms

Posted: Thu Oct 02, 2014 3:49 pm
by Little John
Please make the SpinGadget work equal on all supported platforms.

On Windows, the value of a PB SpinGadget can be changed by
  1. clicking at its up or down arrow with the mouse
  2. typing a number in its edit field
  3. pressing the up or down arrow key
  4. scrolling the mouse wheel
On Linux, c) and d) do not work with SpinGadgets written in PB.
However, all methods a) to d) do work on Linux with SpinGadgets which are written in other proogramming languages.
( see also http://www.purebasic.fr/english/viewtop ... 13&t=60658 )

Unfortunately I don't know any details about the SpinGadget on Mac OS.
[u]List of Platform-dependent Functions[/u] wrote:Every command or library not mentioned here is fully cross-platform.
As long as the differences on platforms exist, they should be mentioned in that list, and also in the "SpinGadget" section of the help.

Thanks.

Re: Make the SpinGadget work equal on all platforms

Posted: Fri Oct 03, 2014 10:03 am
by davido
@Little John,

I tested on a Macbook Pro with the following results:

a. Normal.
b. Normal.

c. Up: moves cursor to left-hand-side of number in gadget
Down: moves cursor to right.
d. No effect.

Re: Make the SpinGadget work equal on all platforms

Posted: Sun Aug 27, 2017 8:15 pm
by Little John
For Linux, here is now a workaround by Oma: http://www.purebasic.fr/english/viewtop ... 15&t=69051