Page 1 of 1

Setting "Max" value to decimal

PostPosted: 26 Sep 2016 15:43
by Davide
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

Re: Setting "Max" value to decimal

PostPosted: 26 Sep 2016 18:16
by Jorge Sousa
Hello

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

IWCGJQSpinEdit1.JQSpinOptions.Step:= 0.01;