[Lazarus] Undo/Redo in Form Designer

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 17 12:24:57 CET 2012


"Александр С." <sss0991 at gmail.com> hat am 17. Dezember 2012 um 12:08
geschrieben:
> > The procedure SetPropVal checks for specific properties (e.g. 'TColor'). It
> > must not.
> Why? Storing it as a number does not make sense when there is a ColorToString.

There are generic functions for this: FindIntToIdent and FindIdentToInt.
See fpc/rtl/objpas/classes/writer.inc for an example how to use it.


Mattias




More information about the Lazarus mailing list