Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - How do I use Markup in report control cells?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How do I use Markup in report control cells?

 Post Reply Post Reply
Author
Message
Aaron Koolen View Drop Down
Groupie
Groupie


Joined: 22 July 2009
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Koolen Quote  Post ReplyReply Direct Link To This Post Topic: How do I use Markup in report control cells?
    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
Back to Top
Aaron Koolen View Drop Down
Groupie
Groupie


Joined: 22 July 2009
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Koolen Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post 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).
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.