Solved

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

Posted on 1999-01-27
2
562 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

776 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