Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 17 NOV 2011 06:17:11AM Barry Stevens wrote:

How can you retain the font colour for a Group Box when the form is run in Vista or Win 7.


At 17 NOV 2011 10:55AM Carl Pates wrote:

Hi Barry,

Short answer is you can't - MS fixed the colour of many controls when run under themes - after all, you wouldn't want to ruin all that hard work by the theme designers now would you?

Long answer is you need to use a custom control or subclass the groupbox and handle the painting yourself…

Carl


At 17 NOV 2011 12:39PM Carl Pates wrote:

… Of course you can try turning off the theme for that group box as per the post I made recently, but it might look odd in the context of the other controls …


At 17 NOV 2011 05:19PM Barry Stevens wrote:

Tried that, it didnt seem to work.

I will bold them then maybe italics, thanks.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/026dad1c0004dc26bfbda7500.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1