Board index » delphi » Initializing TColor with unsigned long

Initializing TColor with unsigned long

    TColor ColorBrightOrange(RGB(254,179,65));

[C++ Warning] unitAlarm.cpp(503): W8006 Initializing TColor with
unsigned long.

Anyone know how to get rid of this?  I've tried everything I can think
of.

PS, do I have the right forum for this question?

 

Re:Initializing TColor with unsigned long


What version of BC++/OWL are you using?

According to my BC++ 4.52/OWL 2.5 help, this should work.  But do try

     TColor ColorBrightOrange(254,179,65);

Stewart.

--
My e-mail address is valid but not my primary mailbox.  Please keep replies
on the 'group where everyone may benefit.

Quote
"Chuck Savage" <csav...@hwimfg.com> wrote in message

news:39CB8CEC.88B6231B@hwimfg.com...
Quote
>     TColor ColorBrightOrange(RGB(254,179,65));

> [C++ Warning] unitAlarm.cpp(503): W8006 Initializing TColor with
> unsigned long.

> Anyone know how to get rid of this?  I've tried everything I can think
> of.

> PS, do I have the right forum for this question?

Other Threads