TRzGroupbox

Components on the Raize Panels palette: panels, group bars, page controls, splitters, toolbars, status bars, group boxes, etc.

TRzGroupbox

Postby rhcarpenter » Wed Dec 19, 2012 4:19 pm

Using Raize Components 5.5.1 in Delphi 2010 on Windows 7 Pro

How do I change the color of CaptionFont on the GroupBox control? I have set it in the property editor but at runtime it is either black or dark grey (maybe) depending on the GroupStyle I use.

Can it not be changed?

Thanks,
Randall H. Carpenter
rhcarpenter
 
Posts: 28
Joined:
Thu Apr 14, 2011 12:49 pm

Re: TRzGroupbox

Postby Raize Support » Wed Dec 19, 2012 4:35 pm

The CaptionFont property takes effect when Windows VisualStyles are not being used. Therefore, in order for the CaptionFont property to take effect, you need to change the VisualStyle property to vsGradient or vsClassic.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 613
Joined:
Fri Mar 25, 2011 9:04 pm

Re: TRzGroupbox

Postby radcpuman69 » Mon Dec 23, 2013 2:24 pm

Is it possible to change the background color of the caption on the TRZGroupBox? I'm using the Banner style and want something besides the gray background.

Thanks
Allen
radcpuman69
 
Posts: 10
Joined:
Thu Oct 18, 2012 3:56 pm

Re: TRzGroupbox

Postby Raize Support » Tue Dec 24, 2013 3:59 pm

Hi Allen,

Change the GradientColorStyle property to gcsCustom, and then change the GradientColorStart and GradientColorStop properties.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 613
Joined:
Fri Mar 25, 2011 9:04 pm

Re: TRzGroupbox

Postby radcpuman69 » Mon Jan 13, 2014 6:46 pm

That worked great.
Thanks.
radcpuman69
 
Posts: 10
Joined:
Thu Oct 18, 2012 3:56 pm


Return to Panels

Who is online

Users browsing this forum: No registered users and 2 guests