You should be able to, You just have to replace the default colour editor
with your own. So create your editor/derive from the existing editors, and
then register the property editor in a design time package.

I've done the same for anything of type TShortcut - why the shortcut editor
is not registered against TComponent (or whatever was required) etc I'll
never know.

Myles.


-----Original Message-----
From: Paul Eggleton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 10 October 2002 3:47 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Custom colour constants in the D6 IDE


Hi all,

Does anyone know if it's possible to add my own colour constants to the
Delphi 6 IDE, so that I can choose it as a colour in the property list?
I did a quick search and couldn't find much, except a document on the
Borland site referring to Delphi 1.0. Editing graphics.pas in the VCL
doesn't seem to work, either.

Cheers,
Paul

---------------------------------------------------------
Paul Eggleton             Ph:   +64-9-4154790
Software Developer        Fax:  +64-9-4154791
                          DDI:  +64-9-4154795
CJN Technologies Ltd.     Email: [EMAIL PROTECTED]
PO Box 302-278, North Harbour, Auckland 1330, New Zealand
12 Piermark Drive, North Harbour, Auckland, New Zealand
Visit our website at http://www.cjntech.co.nz/ 
--------------------------------------------------------- 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to