Print Page | Close Window

How to change color and size on "ReportHyperlink"

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13173
Printed Date: 14 September 2025 at 7:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change color and size on "ReportHyperlink"
Posted By: question
Subject: How to change color and size on "ReportHyperlink"
Date Posted: 14 January 2009 at 11:45am
How can i change the color and font size on hyperlink in a report control(CTPReportControl)?

I have bought xtreme toolkit before,Is there anyone can help me???



Replies:
Posted By: mdoubson
Date Posted: 14 January 2009 at 1:35pm
I don't thinks we have interface to change color
void CXTPReportPaintManager::RefreshMetrics(){

RefreshXtremeColors();

m_clrHighlightText.SetStandardValue(GetXtremeColor(COLOR_HIGHLIGHTTEXT));

m_clrHyper.SetStandardValue(RGB(0, 0, 0xFF));

THIS 2 COLORS USED for hyperlinking. If you have a source - I can do it. If not - we can consider expose access win some interface


Posted By: mdoubson
Date Posted: 14 January 2009 at 4:02pm
I was wrong in term of ability to change. As all this vars - public, you can use in MFC simple call I tested in our ReportSample app

m_wndReport.GetPaintManager()->m_clrHighlightText = RGB(255,0,255);

m_wndReport.GetPaintManager()->m_clrHyper = RGB(255,0,0);



Posted By: question
Date Posted: 15 January 2009 at 12:28pm
Thanks for your help,now it works:)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net