[Lazarus] TSpinEdit and TFloatSpinEdit

Avishai avishai.gore at gmail.com
Mon Nov 18 18:50:34 CET 2013


Does Delphi even have a TFloatSpinEdit?  I suppose it does but I
haven't found anything by googling.

On Mon, Nov 18, 2013 at 7:43 PM, Howard Page-Clark <hdpc at talktalk.net> wrote:
> On 18/11/2013 16:00, Avishai wrote:
>>
>> Why do we have both TSpinEdit and TFloatSpinEdit?  It seems like
>> TFloatSpinEdit is enough.  TFloatSpinEdit has property DecimalPlaces
>> and when set to 0, it displays an Integer (although it's a Float).
>> It's easy enough to get the Integer Value, but it could have Property
>> FloatValue and Property IntValue.
>
>
> I presume for Delphi compatibility. It is then possible to convert a Delphi
> project to a Lazarus project without rewriting source code that involves
> spinedits. (The Delphi TSpinEdit has a Value property that is a longint).
>
> Howard
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



-- 
Shalom,
Avishai
avishai.gore at gmail.com
אבישי גוֹר




More information about the Lazarus mailing list