[lazarus] spinedit bug?

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


On Sun, 09 Nov 2003 20:39:31 +0100
Micha Nelissen <M.Nelissen at student.tue.nl> 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.
> 
> I suggest specifying {stored=true}.

Already done.
It seems, TWriter skips a value, if it is the default value. No matter what
"stored" says.


Mattias






More information about the Lazarus mailing list