Re: Validator for TextCtrl

2011-03-20 Thread herbert breunung
i just want to add here a complain on my own :) quantifier inside the wxperl validators dont seem to work, e.g. "^/d{1,3}$" doesnt stops on the third digit and the method SetBellOnError also doesnt seem to work, i cant turn the bell of with it under win. best herbert Am 20.03.2011 12:14, schrieb

Validator for TextCtrl

2011-03-20 Thread Erik Colson
Ehlo, I've used Wx::Perl::TextValidator to limit accepted keypresses in TextCtrl. This has been enough for controls till now but as I'm moving to a broader user base I need to filter with more intelligence. Now I need to check that the user enters data to correspond to this regex: (M|O|(NC?)|(\d+