Re: [Lazarus] New NumbersOnly property for TCustomEdit (r43678)

2014-01-10 Thread Mailing Lists




On Thursday 09/01/2014 at 1:51 pm, Bart  wrote:

I have implemented a NumbersOnly property for TCustomEdit in r43678.


Confused... Why not just use a MaskEdit widget?  Or doesn't LCL have a 
TMaskedEdit component?

Regards,
 Graeme




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] how about a "HasProperty()" property?

2014-01-06 Thread Mailing Lists





On Sunday 05/01/2014 at 11:51 pm, Alejandro Gonzalo  wrote:






Is there someway else to do that?
Yes, simply use RTTI (Runtime Type Information). See the typinfo unit. 
I've also created an unit for the tiOPF project - it is full of 
extended RTTI helper methods that could make the work much easier. See 
the tiRTTI.pas unit. 
[http://sourceforge.net/p/tiopf/code/ci/tiopf2/tree/Core/tiRTTI.pas] 
Those helper/utility methods could easily be adapted to exclude any 
tiOPF dependencies.


Regards,
 Graeme




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus