Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set the GroupBox caption colour

On my system, the caption of a groupbox is always a dark blue colour, how do I change this?

The answer to How do you change the color of the border on a group box? shows how I can override the drawing of the caption and border, but I don't want to have to deal with Visual Styles and drawing rounded corners and the like.

like image 792
Patrick McDonald Avatar asked Jan 24 '23 19:01

Patrick McDonald


1 Answers

ForeColor is the property that controls the color of the text in a groupbox.

like image 164
Moose Avatar answered Jan 29 '23 08:01

Moose