本文介绍了如何获取主题标签页的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案

如何在具有XP及以上主题的操作系统上运行时,如何确定TTabSheet的背景颜色?我会尝试。



编辑:但请注意,标签页在标准XP主题下有渐变,所以单一颜色可能不是需要。


How can I determine the background color of a TTabSheet when running on a OS with themes like XP and above?

解决方案

I would try GetThemeColor.

Edit: But note that tab sheets have a gradient under standard XP theming, so a single color probably is not what you need.

这篇关于如何获取主题标签页的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-18 04:51
查看更多