Hi.
You can init spin with big range, and just update spinvalue (example in
attach).
Why not?
require "iuplua"
dlg = iup.dialog{
iup.frame{
iup.vbox{
NMARGIN = "8x8",
iup.text{
SPIN = 'YES',
SPINMIN = -100000000,
SPINMAX = 100000000,
SPINVALUE = 0,
valuechanged_cb = function(this)
this.SPINVALUE = tonumber(this.VALUE) or this.SPINVALUE
end,
},
},
},
}
dlg:showxy(iup.CENTER, iup.CENTER)
iup.MainLoop()
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users