"Александр С." <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
