Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,549 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Numbers in Slider boxes get mangled #435848
01/15/14 12:10
01/15/14 12:10
Joined: Jan 2014
Posts: 28
Adelaide, South Oz
R
Radar Offline OP
Newbie
Radar  Offline OP
Newbie
R

Joined: Jan 2014
Posts: 28
Adelaide, South Oz
Hey Gang,

Found something a little weird with the boxes next to the sliders, and can't report it in the bugs section.

I tried entering 75 into one of the boxes, and it shows 57, with the cursor staying to the left of the digits...

Tried entering 1.5 into the boxes, and ended up with 50...

If you enter any decimal starting with 0, it works fine, but anything else gets mangled.

For those of us with shaky hands, being able to enter the correct numbers via the keyboard rather than the sliders is essential... Is there any fix or work-around for this?


Have fun!
Radar =8^)
Re: Numbers in Slider boxes get mangled [Re: Radar] #435853
01/15/14 12:56
01/15/14 12:56
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Not really - that's just the way Windows MFC handles slider boxes. You must place the cursor carefully. A future Zorro version will probably use a different GUI library that looks prettier and overcomes the MFC issues. But Zorro version 1 is just like a Russian tank - more built for effectivity than for look & feel.

Re: Numbers in Slider boxes get mangled [Re: jcl] #435858
01/15/14 13:18
01/15/14 13:18
Joined: Jan 2014
Posts: 28
Adelaide, South Oz
R
Radar Offline OP
Newbie
Radar  Offline OP
Newbie
R

Joined: Jan 2014
Posts: 28
Adelaide, South Oz
Hey Jcl,

So, to enter a 3 digit number...

Enter first digit...
Arrow right...
Enter second digit...
Arrow right, arrow right...
Enter third digit.

That can make a decent sized hole in your pocket if you're not aware of it. shocked


Have fun!
Radar =8^)
Re: Numbers in Slider boxes get mangled [Re: Radar] #435859
01/15/14 13:27
01/15/14 13:27
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
What we can implement is a flag for disabling entry in the boxes, so that you're forced to use the slider. Or alternatively, a flag for disabling the slider so that you must use the boxes.

Re: Numbers in Slider boxes get mangled [Re: jcl] #435869
01/15/14 14:18
01/15/14 14:18
Joined: Jan 2014
Posts: 28
Adelaide, South Oz
R
Radar Offline OP
Newbie
Radar  Offline OP
Newbie
R

Joined: Jan 2014
Posts: 28
Adelaide, South Oz
Hey Jcl,

Yeah, a flag triggered by a checkbox placed over each entry box...

Checkbox un-checked enables slider, and disables keyboard entry...

Checkbox checked disables slider, and enables keyboard entry.

Sounds like a plan to me laugh Thanks laugh


Have fun!
Radar =8^)
Re: Numbers in Slider boxes get mangled [Re: Radar] #435886
01/15/14 16:38
01/15/14 16:38
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi Radar, jcl. Yes, this has bit me too and been discussed before in the forum. The workaround I've settled on is to mouse the slider close to what I want, and then arrow left or right to fine-tune.

HTH.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1