Hello Aida,

        I had a similar problema trying to use a wxSlider for floats and I
decided to implement a wxFloatSlider class that you can find inside
tpExtWxWidgets library. However for wxSpinCtrl you can try to find some
implementation in Internet.

        You can also try to send this email into the wxWidgets mailing list
(http://www.wxwidgets.org/support/maillst2.htm). I think they can provide
you much better support for this topic than me.

Best,
Xavi

From: Aida Ninyerola [mailto:[email protected]] 
Sent: lunes, 02 de mayo de 2011 13:56
To: [email protected]
Subject: [Gimias-developers] spinCtrl for float numbers

Hello,

I need for my application to let the user introduce a float number in a
variable I need for later calculations. 
I want this number to be inside a range so I thought that the best way was
to implement a spinCtrl because it also allows the convenience of
introducing the number just using the mouse.
The problem is that I can only introduce integer numbers.

Is there any way to use the spinCtrl with float numbers?
If not, which would be the best way to implement what I need?

Thanks,
Aida


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to