Bill, I copied the following from
https://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses
It takes reals in windows, The d prefix implies double.
https://code.jsoftware.com/wiki/Guides/Window_Driver/ChildClasses
dspinbox c
A spinbox control for real numeric values.
Qt class: QDoubleSpinBox (
http://doc.qt.io/qt-5/qdoublespinbox.html).
Create: wd'cc id dspinbox [dec min step max val]' creates a real-value spinbox that displays dec decimal places, starting with min, increasing by step, to a value of max, with val as the starting value.
Set commands:
decimals - wd'set id decimals dec ' change display to dec decimal places.
min - wd'set id min minval ' changes the minimum value to minval.
max - wd'set id max maxval ' changes the maximum value to maxval.
readonly - wd'set id readonly [0|1]' makes the control readonly [1] or editable [0]. The 1 can be elided.
step - wd'set id step stepval ' changes the step size to stepval.
value - wd'set id value val ' displays the value val in the control.
Events:
formname_childname_changed when the value is changed
Names Created When Any Event Is Signaled:
childname is a character string that, when converted to numeric, gives the selected value
It would be a huge help to me if it worked in android.
------------------------------
> On 06/07/2026 5:17 PM MST bill lam <
bbil...@gmail.com> wrote:
>
>
> I suspect android dspinbox accepts integers only.
>
>
> On Mon, Jun 8, 2026 at 7:56 AM Thomas Arneson <
t...@tomarneson.com> wrote:
> >
> > The wd child control dspinbox works for me in windows, but not in android. I seem to remember some other things like this from a few years back too. Are there other forum members who write scripts for J android?
> >
> > -- showing the error --
> > load '/storage/emulated/0/Android/data/
com.jsoftware.j.android/files/j-user/temp/1.ijs (
http://com.jsoftware.j.android/files/j-user/temp/1.ijs) (
http://com.jsoftware.j.android/files/j-user/temp/1.ijs)'