<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks,</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">it does not work. Where should I place such overloaded procedure?</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">The reason I need it is that the *.xml file is config file so there is a chance that someone will edit it manually.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Or there is possibility to change declaration from TColor to string.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: Mattias Gaertner <nc-gaertnma@netcologne.de><br />
> Komu: <lazarus@lists.lazarus.freepascal.org><br />
> Datum: 14.04.2015 02:09<br />
> Předmět: Re: [Lazarus] How to stream TColor in hexadecimal format?</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"><br />
Maybe you can overload<br />
RegisterIntegerConsts(TypeInfo(TColor), TIdentToInt(@IdentToColor),<br />
TIntToIdent(@ColorToIdent)); <br />
with your own functions and write colors as "h00FEDCBA".<br />
<br />
Mattias<br />
<br />
--<br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus.freepascal.org<br />
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a></p>