Recent

Author Topic: Howto Define 3D Colors  (Read 6241 times)

pwhittin

  • Newbie
  • Posts: 1
Howto Define 3D Colors
« on: December 28, 2004, 10:34:04 pm »
How does one set the 3D colors for an LCL application?

By default, it seems, a TPanel shows its bevels in the default system colors on Windows (i.e. green, or whatever colors the user has chosen).

I don't want to use any of the system colors!

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2552
Howto Define 3D Colors
« Reply #1 on: December 29, 2004, 10:29:11 am »
You can't define them (AFAIK)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Howto Define 3D Colors
« Reply #2 on: December 29, 2004, 01:24:23 pm »
Nope only the OS can change them, or you can change them system wide.
You should make your own custom components to change this behaviour, i'm working on some myself :)
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Anonymous

  • Guest
Howto Define 3D Colors
« Reply #3 on: December 29, 2004, 06:29:34 pm »
Thanks for all the input.

I found that Delphi's TPanel also lacks the ability to change the bevel colors.

I also found this URL illustrating a TPanel descendent that does allow bevel color setting:

http://www.bsdg.org/SWAG/DELPHI/0376.PAS.html

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Howto Define 3D Colors
« Reply #4 on: December 29, 2004, 08:06:26 pm »
We need it to work in other OSes not just Windows.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

 

TinyPortal © 2005-2018