[lazarus] spinedit bug?

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Nov 9 17:27:28 EST 2003


On Sun, 09 Nov 2003 20:34:00 +0100
Florian Klaempfl <Florian.Klaempfl at gmx.de> wrote:

> Mattias Gaertner wrote:
> > On Sat, 08 Nov 2003 21:52:18 -0800
> > Ken Moffat <kmoffat at drizzle.com> wrote:
> > 
> > 
> >>The SpinEdit control will not decrease to zero. If I set min value to 0 
> >>it stops at 1.
> > 
> > 
> > It seems to be a bug in TWriter. You can't set a default value for
> > properties of type single. But TWriter ignores this and simply assumes 0
> > is the default. So, 0 is not saved to the lfm file.
> > 
> > Does 1.9 allow default values for properties of type single?
> 
> No, but delphi doesn't allow it either, iirc? Do we need it?

Do we need default values for integer properties? 


Mattias






More information about the Lazarus mailing list