[Lazarus] New NumbersOnly property for TCustomEdit (r43678)

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sat Jan 11 19:12:31 CET 2014

On 2014-01-11 13:05, Bart wrote:
> An edit control that controls input based on a regex, and looking like
> a simple TEdit, might be a nice feature to have.

Much better idea, but as Michael pointed out, you probably don't need
another control for that. Take a look at Qt for a nice example (if I'm
not mistaken). They allow you to set an input mask for a standard
textedit control. That input mask (validator) may be regex too. This is
a lot more powerful that VCL/LCL's MaskEdit or a specialised SpinEdit etc.

But if you guys are anal about "delphi compatibility" like the FPC
developers, then that is probably not an option for you.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the Lazarus mailing list