Thanks,
 
it does not work. Where should I place such overloaded procedure?
 
The reason I need it is that the *.xml file is config file so there is a chance 
that someone will edit it manually.
Or there is possibility to change declaration from TColor to string.
 
V.
______________________________________________________________
Od: Mattias Gaertner <nc-gaert...@netcologne.de>
Komu: <lazarus@lists.lazarus.freepascal.org>
Datum: 14.04.2015 02:09
Předmět: Re: [Lazarus] How to stream TColor in hexadecimal format?

Maybe you can overload
 RegisterIntegerConsts(TypeInfo(TColor), TIdentToInt(@IdentToColor),
TIntToIdent(@ColorToIdent)); with your own functions and write colors as "h00FEDCBA".

Mattias

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to