[lazarus] LRS with TColor property

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 5 04:27:24 EST 2003


On Fri, 5 Dec 2003 00:30:07 +0100  "Darek Mazur" <darekm at emadar.com> wrote:

> Hi
> 
> I've prepare lazarus resource file from Delphi DFM and if application
> start i've got error message
> 
> Form streaming "TForm2" error: Error while reading Form2.Color: Invalid
> property value
> 
> and next
> 
> Form streaming "TForm2" error: Error while reading Form2.Font.Color:
> Invalid property value
> 
> in LRS file is line
> #10'Font.Color'#7#12'clWindowText
> 
> I can't find why, Mayby its depends from type of TColor - there is not
> Longint

The TypeInfo function of the compiler does not work yet. It returns values
dependending on the unit.

Use color numbers instead of identifiers.


Mattias






More information about the Lazarus mailing list