Print Page | Close Window

How do I use Markup in report control cells?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18758
Printed Date: 25 April 2024 at 3:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I use Markup in report control cells?
Posted By: Aaron Koolen
Subject: How do I use Markup in report control cells?
Date Posted: 01 August 2011 at 11:04pm
Hi guys. Is there a simple example out there on using markup inside CXTPReportControl items?
I tried to duplicate from the sample code but all I get is the Markup printed raw in the item. From what I can tell from the example all I need to do is call control.EnableMarkup(TRUE), then set the caption of my items to the markup.

Anything else needed?

Thanks
Aaron




-------------
Product: Xtreme ToolkitPro v13.3.0 (MFC)
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6



Replies:
Posted By: Aaron Koolen
Date Posted: 03 August 2011 at 8:29pm
Noone's ever put markup in a report control cell before?

-------------
Product: Xtreme ToolkitPro v13.3.0 (MFC)
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 6


Posted By: markr
Date Posted: 04 August 2011 at 9:32am
Yes, you should just have to call EnableMarkup(TRUE).

If your markup isn't rendering, double-check that it is valid. If it cannot be successfully parsed by the markup context, it will be rendered "as is" (e.g. the raw text).



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