![]() |
Delphi-Version: 2010
List of system colors
I want to have array with system colors. Is possible to build it in runtime without using cl* constants? I looked at TColorListBox, but I don't understand too much how it fill out. BTW: I don't want to use any component.
|
AW: List of system colors
Have a look at
![]() |
Re: List of system colors
Hm, this one uses consts too. Ok, thanks buddy :)
|
AW: List of system colors
There is the Colors array in Graphics.pas. Unfortunately it's declared in the implementation section, so you can't access it directly. But you can fill your array with the GetColorValues function and get the TColor values from the color names via StringToColor.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:41 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz