[Lazarus] New NumbersOnly property for TCustomEdit (r43678)

zeljko zeljko at holobit.net
Fri Jan 10 07:51:55 CET 2014


On 01/09/2014 04:48 PM, Bart wrote:
> On 1/9/14, zeljko at holobit.net <zeljko at holobit.net> wrote:
>
>>
>> Others can emulate it in keydown and set text, besides that that Qt
>> supports (QLineEdit)
>> such scenario by using QValidator (QIntValidator) for input evaluation.
>>
>
> Hmm, can we use this to implement NumbersOnly in the QT WS code?

Yes, but why we should use any widgetset to implement such property ?
Isn't keyDown/SetText enough to implement it in lcl ?

z.





More information about the Lazarus mailing list