RzGroupBar1.VisualStyle:=vsGradient;
RzGroupBar1.GradientColorStyle:=gcsMSOffice;
老是显示的,是gcsSystem的颜色,下面是定义,关于GradientColorSytel
GradientColorStyle properties are active when the control's VisualStyle property is set to vsGradient. The default value of properties of this type is gcsSystem, which means that the gradient color values needed by the control are obtained from the current system colors. This value ensures that the control look great regardless of the users current color scheme. To mimic the Microsoft Office 2003 look when XP themes are active (i.e. blue, green, and silver backgrounds for toolbars, etc.) then select the gcsMSOffice value. If XP themes are not present, then the control will utilize the gcsSystem value. And finally, if you wish to select custom color values for the gradients used in a control, then select the gcsCustom value.
9 个解决方案
#1
你想引用皮肤控件吗,最好用VCLSKIN
#2
是啊,感觉用Rz,比较灵活一点
#3
可以使用DevExpress,这套控件现在很成熟。
#4
其实适用就行,管它用什么控件
#5
呵呵,去看看,但是还是想知道哪里出错了
Use GradientColorStyle to specify how gradient color values are obtained for the control.
Description
GradientColorStyle properties are active when the control's VisualStyle property is set to vsGradient. The default value of properties of this type is gcsSystem, which means that the gradient color values needed by the control are obtained from the current system colors. This value ensures that the control look great regardless of the users current color scheme. To mimic the Microsoft Office 2003 look when XP themes are active (i.e. blue, green, and silver backgrounds for toolbars, etc.) then select the gcsMSOffice value. If XP themes are not present, then the control will utilize the gcsSystem value. And finally, if you wish to select custom color values for the gradients used in a control, then select the gcsCustom value.
Use GradientColorStyle to specify how gradient color values are obtained for the control.
Description
GradientColorStyle properties are active when the control's VisualStyle property is set to vsGradient. The default value of properties of this type is gcsSystem, which means that the gradient color values needed by the control are obtained from the current system colors. This value ensures that the control look great regardless of the users current color scheme. To mimic the Microsoft Office 2003 look when XP themes are active (i.e. blue, green, and silver backgrounds for toolbars, etc.) then select the gcsMSOffice value. If XP themes are not present, then the control will utilize the gcsSystem value. And finally, if you wish to select custom color values for the gradients used in a control, then select the gcsCustom value.
#6
没人知道吗?谢谢了
#7
顶一下
#8
顶一下,我也遇到这个问题,不知LZ现在解决了没
#9
劳而无功
#1
你想引用皮肤控件吗,最好用VCLSKIN
#2
是啊,感觉用Rz,比较灵活一点
#3
可以使用DevExpress,这套控件现在很成熟。
#4
其实适用就行,管它用什么控件
#5
呵呵,去看看,但是还是想知道哪里出错了
Use GradientColorStyle to specify how gradient color values are obtained for the control.
Description
GradientColorStyle properties are active when the control's VisualStyle property is set to vsGradient. The default value of properties of this type is gcsSystem, which means that the gradient color values needed by the control are obtained from the current system colors. This value ensures that the control look great regardless of the users current color scheme. To mimic the Microsoft Office 2003 look when XP themes are active (i.e. blue, green, and silver backgrounds for toolbars, etc.) then select the gcsMSOffice value. If XP themes are not present, then the control will utilize the gcsSystem value. And finally, if you wish to select custom color values for the gradients used in a control, then select the gcsCustom value.
Use GradientColorStyle to specify how gradient color values are obtained for the control.
Description
GradientColorStyle properties are active when the control's VisualStyle property is set to vsGradient. The default value of properties of this type is gcsSystem, which means that the gradient color values needed by the control are obtained from the current system colors. This value ensures that the control look great regardless of the users current color scheme. To mimic the Microsoft Office 2003 look when XP themes are active (i.e. blue, green, and silver backgrounds for toolbars, etc.) then select the gcsMSOffice value. If XP themes are not present, then the control will utilize the gcsSystem value. And finally, if you wish to select custom color values for the gradients used in a control, then select the gcsCustom value.
#6
没人知道吗?谢谢了
#7
顶一下
#8
顶一下,我也遇到这个问题,不知LZ现在解决了没
#9
劳而无功