RzGroup OnClick colour

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

RzGroup OnClick colour

Postby rrademey » Wed Feb 18, 2015 2:32 pm

When you add a TRzGroupItem to a TRzGroup, and you then add an OnClick event to the TRzGroupItem, then the Caption of the TRzGroupItem gets a different coloured font and gets underlined as if it was a hyperlink [see attached image].

Is there any way in which this can be turned off i.e. to get the Caption without any decoration?

Thanks
Rob
Attachments
RzGroupOnClickColour.jpg
Example of highlight on the OnClick event
RzGroupOnClickColour.jpg (32.46 KiB) Viewed 2849 times
rrademey
 
Posts: 1
Joined:
Tue Feb 17, 2015 4:35 pm

Re: RzGroup OnClick colour

Postby Raize Support » Thu Feb 19, 2015 9:18 am

Hi,

You could change the TRzGroup.ItemHotColor property to clBlack to match the other items. However, for that to be used, the GradientColorStyle of the TRzGroupBar needs to be changed to gcsCustom instead of gcsSystem.

There is no way to stop the underline from appearing unless you modify the source code (TRzGroup.DrawItems) and rebuild the components. The items are underlined when an event handler is present to visually indicate to the user that the item can be clicked.

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


Return to Panels

Who is online

Users browsing this forum: No registered users and 1 guest

cron