![]()  | 
 
How do I use Markup in report control cells? | 
 
    Post Reply  
   | 
  
| Author | |
   
   Aaron Koolen  
   
   Groupie  
   Joined: 22 July 2009 Status: Offline Points: 32  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   Aaron Koolen  
   
   Groupie  
   Joined: 22 July 2009 Status: Offline Points: 32  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   markr  
   
   Senior Member  
   Joined: 01 August 2004 Status: Offline Points: 443  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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). 
    | 
 |
![]()  | 
 |
    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  |