how to set color to a customized color

how to set color to a customized color

Post by Paramount Solutions Pty L » Fri, 19 Apr 1996 04:00:00



In my application I want to change the color of certain fields depending on
the value of one of the fields.  

I have implemented this by using ...   Stock_Item.color = DarkRed   ...
where DarkRed is a Color Constant in Objectpal.

I would like to use a custom color that I have created myself.  Any ideas on
how to achieve this ?

Any suggestions will appreciated.

Dirk Hoeckman

 
 
 

how to set color to a customized color

Post by Daniel A. Morga » Thu, 25 Apr 1996 04:00:00


Quote:> I would like to use a custom color that I have created myself.  Any
> ideas on how to achieve this ?

The only way I know to do this is to modify the Windows palette via the
Windows API.  Unless this is an academic exercise I don't see where the
value equals the effort required.

Daniel Morgan
EXE Solutions

 
 
 

1. : customizing OPAL editor (fonts, color)

How in blazes does one change the font for the OPAL editor?  I find
the font too large.  It makes it hard to have more than one or two
edit windows going simultaneously.  My resolution is 1024x768.

Changing colors- would be nice, too-but that's probably out of the
question, right?

--
Frank Burleigh 812-333-7082 (home); 812-855-9170 (work)
School of Law, Indiana University, Bloomington, IN  47405

2. VB with Access

3. How to customize the DatePicker colors?

4. mask control

5. Title bar color - customize ?

6. Using a variable as string for .FindNext

7. ??desktop color/application color??

8. Printing direct to parallel port

9. Color Conundrum (was "Change Colors")

10. Change the edit Field background color in alternating portal colors

11. Colors--How do I get more colors?

12. Changing Text color and field color.

13. Getting the color white on toolbar buttons in 256 color mode