Hi, regarding TspinEdit, I have an application written in lazarus version 0.9.8 (linux). It has many spinEdit in it.
When I wanted to upgrade it to a higher version, the program crashed because the properties had changed and there was then a new FloatSpinEdit component available. The only solution would be to delete all the components upgrade the code and reinstall the new FloatSpinEdit components! It remembered me bad memories because when I upgraded from 0.9.6 to 0.9.8 I also had to do the same thing because the new component now had the "Decimal Point" property available ! May be there would be an easier trick to deal with the changing properties from one version to the nect one? Thank you very much for this very good software (Lazarus/FPC) Alain On Tue, 2007-05-01 at 08:36 +0200, Michael Van Canneyt wrote: > > On Tue, 1 May 2007, Mattias Gaertner wrote: > > > On Mon, 30 Apr 2007 18:01:48 +0200 (CEST) > > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > Is there any reason why TSpinEdit (and TFloatSpinEdit) do not descend > > > from TCustomEdit ? That's what I would expect, but for some reason > > > this is not so. > > > > > > Does anyone know the reason ? If so, what is it ? > > > > History. > > > > Do you want to rewrite it? > > Not really; > I was doing some investigation for an article I'm writing, > and I simply stumbled on this strange fact :) > > From a design/architectural/principal point of view, though, I > think that it's better to have it as a TCustomEdit descendent > as well, though. Although I have no idea how much work that would be. > So if you have nothing better to do on a rainy day... ;-) > > Michael. > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
