validator for TextCtrl

Hi,

I need a simple validator for a TextCtrl for only digits and "," (german float format). While wxTextValidator isn't implemented in wxPython, what's the best way for "easy" validate a TextCtrl in the above way?

best regards
Andreas

best regards
Andreas

···

--
vocote.de e.K. :: Software - Internet - Consulting
http://www.vocote.de :: akaiser@vocote.de

Hi Andreas,

Andreas Kaiser wrote:

Hi,

I need a simple validator for a TextCtrl for only digits and "," (german float format). While wxTextValidator isn't implemented in wxPython, what's the best way for "easy" validate a TextCtrl in the above way?

Have you looked at the maskedControls? Check the wxPython demo under More Windows/Controls you have MaskedEditControls and MaskedNumCtrl and IntCtrl.

See you
Werner

···

best regards
Andreas

best regards
Andreas