Solved

Form1.Color := readstring('Color');

Posted on 1999-01-27
2
557 Views
Last Modified: 2010-04-06
Hello,

I use the following line in Delhpi 3.

Form1.Color := readstring('Color');

The error is INCOMPATIBLE TYPES: 'TColor' and 'String'.

'Color' has the value 'clNavy'

Who has an solution for me??

Thanks,
Vincent
0
Comment
Question by:Vincentg
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 10 total points
ID: 1363602
Form1.Color := StringToColor(readstring('color'));

Cheers,

Raymond.
0
 

Author Comment

by:Vincentg
ID: 1363603
Thanks a lot Raymond
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now