Page 1 of 1
position of the widget slider
Posted: Sun Jul 22, 2018 5:36 pm
by Jose Manuel
Hello everyone, does anyone know how to initialize the widget slider to a value ??
that is to say when loading the page the slider is positioned at a set value within the minimum value and the maximum value.
Thank you
Re: position of the widget slider
Posted: Mon Jul 23, 2018 3:42 am
by TaskForce_Kerim
Hello Jose,
when you initialize your screen, you can set the value to anything you need. See here:
In my example I hard-coded it to 5 but ideally you bind your "value" property to an RPG variable and set the intial value from there.
Re: position of the widget slider
Posted: Mon Jul 23, 2018 12:36 pm
by Jose Manuel
First of all thanks as always giving solutions.
in this case we already had the value property but it did not work.
we have investigated and believe that the cause in our case is the decimal notation of the value.
it seems that it does not work with the notation (decimal point (,)) but with the decimal notation (period (.)).
We only had to edit the initial value.
Example rpg free:
value = %editw(valueini:' . ');