![]() |
How to change color and size on "ReportHyperlink" |
Post Reply
|
| Author | |
question
Newbie
Joined: 18 October 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Topic: How to change color and size on "ReportHyperlink"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??? |
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mdoubson
Senior Member
Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Quote Reply
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); |
|
![]() |
|
question
Newbie
Joined: 18 October 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 January 2009 at 12:28pm |
|
Thanks for your help,now it works:)
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |