Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-12

LRS with TColor property

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Darek Mazur: Hi I've prepare lazarus resource file from Delphi DFM and if application start i've got…
Show quoted text 18 lines
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

Reply by email

Darek Mazur

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

Please help

Darek

Reply by email