Forum: Sonstige Fragen zu Delphi
Delphi
by NickelM,
1. Okt 2009
lol ne er meint es in der Form
const
BtnColorDef : array of TColorBtn =
( // Red
(
TextColor: $000000; //Hier jeweils dein Farbencode :mrgreen:
Colors:(($D08C8CD2, $D050508A, $D007074C, $D014149D),
($D06F6FA9, $D04B4B64, $D01C1C2C, $D01F1F4A))
),
Forum: Sonstige Fragen zu Delphi
Delphi
by NickelM,
30. Sep 2009
Also ich würd das erstmal anders mit den Arrays deklarieren;
type
TBtnColors = array of COLORREF;
TColorBntState = (cbsUp, cbsDown);
TColorButtonColors = (cbcRed, cbcBlue, cbcSilver);
TColorBtn = record
TextColor: COLORREF; // <--<<
Colors: array of TBtnColors;