Make the SpinGadget work equal on all platforms

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Little John
Addict
Addict
Posts: 4527
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Make the SpinGadget work equal on all platforms

Post 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.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Make the SpinGadget work equal on all platforms

Post 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.
DE AA EB
Little John
Addict
Addict
Posts: 4527
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Make the SpinGadget work equal on all platforms

Post by Little John »

For Linux, here is now a workaround by Oma: http://www.purebasic.fr/english/viewtop ... 15&t=69051
Post Reply