gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Validation of data within widgits


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Validation of data within widgits
Date: Wed, 21 Jul 2004 08:35:23 +0200
User-agent: Mutt/1.3.22.1i

> I found:
> http://www.wxwidgets.org/manuals/2.4.2/wx474.htm#validatoroverview
> 
> which includes a link to wxTextValidator
> 
> Filtering behaviours (wxFILTER_ALPHA, ..._NUMERIC, ..._INCLUDE_LIST) 
> are supported but I can't see support for pattern matching (e.g. A9A 
> 9A9), or formula-based validation like modulus[ ] which British 
> Columbia health numbers need to satisfy.
> 
> Would a solution require C++ (control) variables to be written and 
> pointed to?
No, one just needs to sub-class wx(Text)Validator. Not a lot of
trouble but a not insignificant amount of initial work.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]