M
maple_guo
Unregistered / Unconfirmed
GUEST, unregistred user!
我新增了四个TColor属性并用default指定了不同缺省值,但在安装该控件后每次新增该控件,那些新增的属性在ObjectInspecter中显示的却总是clBack,为什么?怎样改?谢谢!
代码:
property SelectedCellBackColor: TColor read FSelectedCellBackColor
write SetSelectedCellBackColor [b]default[/b] clHighlight;
property SelectedCellFontColor: TColor read FSelectedCellFontColor
write SetSelectedCellFontColor [b]default[/b] clHighlightText;
property FirstAlternateColor: TColor read FFirstAlternateColor
write SetFirstAlternateColor [b]default[/b] clSkyBlue;
property SecondAlternateColor: TColor read FSecondAlternateColor
write SetSecondAlternateColor [b]default[/b] clWhite;