Convert your RGB to Hex and set it like this:

Property CompID <compPartColor> '#B6FEFE'




----- Original Message ----- 
From: "Alastair Burr" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Friday, July 20, 2012 12:13 PM
Subject: [RBASE-L] - Form control colours via property commands 
(v9.1.3.10428)


I have a need to change the background colour of a component (DBMemo) 
depending on whether certain conditions are met.

My EEP works fine as far as changing the colour goes but I thought that it 
was possible to substitute the RGB codes in place of the colour names.

The codes do seem to work but give the wrong colour!!

I checked in the Properties.pdf help and find that it lists the names of 22 
background colours that are available.

Is this one of those cases where the codes cannot be substituted?

(I am using: (182, 254, 254) as the custom colour when the control is 
defined which is close to Aqua but paler and is showing up as a pale-ish 
brown when those codes are used in the property command to return it to my 
custom colour. It happily changes correctly to RED or GREEN via the EEP.)

Thanks in advance for any insights,
Regards,
Alastair. 

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: 
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, 
place any 
text to search for.
================================================


Reply via email to