Hello,

I'm trying to create some sort of calculator for specific task.
I require to allow to input only floating point or integer numbers.
I thought to use TMaskEdit for it, but how can i tell it a rule to allow me
arbitrary number length including a floating point on arbitrary position ?

In regex such rule will look like:

^(\d+|\d+\.\d+)$

Does the TMaskEdit capable of defining such pattern (not in the syntax of
regex) ? If not, is there any tool that can provide me this type of patterns
?

Thanks,
Ido

http://ik.homelinux.org/
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to