Re: [Lazarus] How to stream TColor in hexadecimal format?

2015-04-14 Thread Vojtěch Čihák
. __ 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

[Lazarus] How to stream TColor in hexadecimal format?

2015-04-13 Thread Vojtěch Čihák
Hello,   how to stream TColor in hexadecimal format?   Currently, TColor is streamed as   Color = 5810431 Color = clTeal   in *.lfm or   integer name=ClrDWBCurve value=33023/ ident name=ClrSF2Curve value=clRed/   in *.xml. How can I stream it in $00FEDCBA format?   In the worst case, I probably

Re: [Lazarus] How to stream TColor in hexadecimal format?

2015-04-13 Thread Mattias Gaertner
On Mon, 13 Apr 2015 23:49:50 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: [...] how to stream TColor in hexadecimal format?   Currently, TColor is streamed as   Color = 5810431 Color = clTeal   in *.lfm or As far as I know the underlying TAbstractObjectWriter does not support