Is there a FloatCtrl which can be used to input float numbers as
wx.lib.intctrl.IntCtrl for integer?
···
--
Qiangning Hong
___________________________________________________
( You are the only person to ever get this message. )
---------------------------------------------------
o ^___^
o (===)\_______
(___)\ )\/\
>>----w |
>> >>
Hi,
I think you'r searching something like
wx.lib.masked.numctrl.NumCrtl()
!
···
--
Jens Petersen
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
Jens Petersen wrote:
Hi,
I think you'r searching something like
wx.lib.masked.numctrl.NumCrtl()
I played around for a while with the NumCtrl demo, It seems that I must
specify the fraction width to allow input float numbers. Can it be
configured to allow input both "3.1" and "3.1415926" without the
annoying trailing zeros like "3.10000000"?
···
--
Qiangning Hong
____________________________________________________________
/ "Our nation must come together to unite." \
>
\ George W. Bush June 4, 2001 Remark made in Tampa, Florida. /
------------------------------------------------------------
\ ^___^
\ (xxx)\_______
(___)\ )\/\
U ||----w |
>> >>
Hi,
I have programmed an Integer and Float Validator a long time ago (year
2001), adopting some ideas from PMW (python mega widgets). I created a
small statistical tool (only in greek -
http://www.food.teithe.gr/Members/papagr/multicomp/). It was one of my
first programs.
I hope you find the attached code usefull. Just execute the code to
see a small demo.
Nikos.
validators.py (16 KB)
···
On 6/21/05, Qiangning Hong <hongqn@gmail.com> wrote:
Jens Petersen wrote:
> Hi,
>
> I think you'r searching something like
>
> wx.lib.masked.numctrl.NumCrtl()
>
I played around for a while with the NumCtrl demo, It seems that I must
specify the fraction width to allow input float numbers. Can it be
configured to allow input both "3.1" and "3.1415926" without the
annoying trailing zeros like "3.10000000"?
--
Qiangning Hong
____________________________________________________________
/ "Our nation must come together to unite." \
> >
\ George W. Bush June 4, 2001 Remark made in Tampa, Florida. /
------------------------------------------------------------
\ ^___^
\ (xxx)\_______
(___)\ )\/\
U ||----w |
>> >>
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
--
Nikos Papagrigoriou <nikos@papagrigoriou.gr>
The attached code is exactly what I am looking for!
Thank you very much!
Nikos Papagrigoriou wrote:
···
Hi,
I have programmed an Integer and Float Validator a long time ago (year
2001), adopting some ideas from PMW (python mega widgets). I created a
small statistical tool (only in greek -
http://www.food.teithe.gr/Members/papagr/multicomp/). It was one of my
first programs.
I hope you find the attached code usefull. Just execute the code to
see a small demo.
Nikos.
On 6/21/05, Qiangning Hong <hongqn@gmail.com> wrote:
Jens Petersen wrote:
Hi,
I think you'r searching something like
wx.lib.masked.numctrl.NumCrtl()
I played around for a while with the NumCtrl demo, It seems that I must
specify the fraction width to allow input float numbers. Can it be
configured to allow input both "3.1" and "3.1415926" without the
annoying trailing zeros like "3.10000000"?
--
Qiangning Hong
____________________________________________________________
/ "Our nation must come together to unite." \
>
\ George W. Bush June 4, 2001 Remark made in Tampa, Florida. /
------------------------------------------------------------
\ ^___^
\ (xxx)\_______
(___)\ )\/\
U ||----w |
>> >>
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
--
Qiangning Hong
_________________________________________________________
/ Heuristics are bug ridden by definition. If they didn't \
\ have bugs, then they'd be algorithms. /
---------------------------------------------------------
\
\ , _ ___.--'''`--''//-,-_--_.
\`"' ` || \\ \ \\/ / // / ,-\\`,_
/'` \ \ || Y | \|/ / // / - |__ `-,
/@"\ ` \ `\ | | ||/ // | \/ \ `-._`-,_.,
/ _.-. `.-\,___/\ _/|_/_\_\/|_/ | `-._._)
`-'``/ / | // \__/\__ / \__/ \
`-' /-\/ | -| \__ \ |-' |
__/\ / _/ \/ __,-' ) ,' _|'
(((__/(((_.' ((___..-'((__,'