CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Setting "Max" value to decimal

by Davide » 26 Sep 2016 15:43

Hello,

I'm trying to set a TIWCGJQSpinEdit in async event handling to a decimal value but the Max value is set to the lowest integer value without any decimal displayed.
Es.
MySpinEdit.JQSpinOptions.Max := 10.92;
MypinEdit.Value := 10.92;

Displayed in then TIWCGJQSpinEdit control is 10.00 and the max value is 10.00.
I try to set the Max value type to Double without any success.

Is it possible to set the Max value to a decimal value?

Thank you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Jorge Sousa » 26 Sep 2016 18:16

Hello

Unfortunatelly, i think you will have to set the step to the least decimal value :/

IWCGJQSpinEdit1.JQSpinOptions.Step:= 0.01;
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQSpinEdit

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.