[Lazarus] SpinEdit on Delphi question (related to bug 26488)

Vojtěch Čihák vojtech.cihak at atlas.cz
Sat Jul 26 17:18:39 CEST 2014


This
 
>Caption := 'Value = ', + FloatToStr(SE.Value);
 
raises the same exception, EConvertError, not a integrer value.
 
Vojtěch 
______________________________________________________________
> Od: Bart <bartjunk64 at gmail.com>
> Komu: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Datum: 26.07.2014 17:08
> Předmět: Re: [Lazarus] SpinEdit on Delphi question (related to bug 26488)
>
On 7/26/14, Vojtěch Čihák <vojtech.cihak at atlas.cz> wrote:
> Hi,
>
> on Delphi7, when I do SpinEdit1.Text:='abc'; then it fairly contains abc
> :-). But when I try to spin it, it raises exception: abc is not integer
> value.

OK, but that doesn't answer the question:

SE.Text := 'abc';
Caption := 'Value = ', + FloatToStr(SE.Value);

Bart

--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140726/03f0aa68/attachment-0003.html>


More information about the Lazarus mailing list