Wow! That would be great! Thanks.

Koen Deforche wrote:
> Hey Archimedes,
>
> 2008/6/2 Archimedes B. Cortes <[EMAIL PROTECTED]>:
>   
>> I was looking for a functionality in wt that would allow say:
>> I have WRegExp reg("ABC") as a validator, a textbox will only allow me
>> to enter characters that satisfies reg, and not show red as in the case
>> of Wt textboxes.
>>     
>
> I've committed a change to CVS, which should allow you to filter input
> (in for example a line edit), as per the validator's specification.
>
> You need to reimplement the new virtual method
> WValidator::inputFilter() which returns a regular expression of valid
> input characters. For example, I've reimplemented this for the
> WIntValidator to return "[0-9]", accepting only digits.
>
> Regards,
> koen
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
>   


-- 
ABC-90106446


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to