On Fri, Dec 8, 2017 at 10:57 AM, Alexey via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:


> - FIncrement := AIncrement;
> + if AIncrement > 0 then
> + FIncrement := AIncrement
> + else
> + FIncrement := -AIncrement;
>
> better: FIncrement := Abs(AIncrement);
>


I believe you are referring to T(Float)SpinEditEx?
This code is in the generic part, and Abs(AIncrement) does not compile
there, at least not with 3.0.4RC1.
Therefore this workaround.

Bart
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to