Print Page | Close Window

Column Headers With Markup Issue

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=17331
Printed Date: 15 November 2024 at 3:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Column Headers With Markup Issue
Posted By: SHAN
Subject: Column Headers With Markup Issue
Date Posted: 26 September 2010 at 11:16pm
Hi,
 
 I am using Report control Column Headers with Markup to Show Header Bold
 
 
 While Exporting data  I need to loop through column Headers and Read Column Caption.
 
 See the Screen shot below for Column Headers in Excel....!
 
 
 
So How to Avoid Markup Tags while Reading Column Caption?
 
  Any Idea? Pls Help...!
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0



Replies:
Posted By: Aaron
Date Posted: 27 September 2010 at 1:38am
Hi,
 
If you need just columnheaders to be bold try this instead:
 
Me.wndReportControl.PaintManager.CaptionFont.Bold = True
 
As far as I can see the captions of:
  • Headers
  • NoItemsText
  • GroupboxText

Maybe there are more but if you don't use them anyway... If you need Markup try to search forum, Jason created something to extract only the values (if I'm not mistaken...) and if that doesn't help submit ticket Wink

 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: jpbro
Date Posted: 27 September 2010 at 2:12am
http://forum.codejock.com/forum_posts.asp?TID=14928&PID=51713&title=xaml-stripper#51713 - Here it is

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: SHAN
Date Posted: 27 September 2010 at 2:57am
Thanks Aaron....!
 
I can use Paintmanager caption font option  for bold and coloring all columns...!
 
What i try to achieve is Few column I need different color Heading similar to below screen shot
 
This is the reason I started using Markup and end up with Column Caption Problem...!
 
 
Is it possible to do the same without Markup???
 
There are lot of options available in Xtreme suite . Great...!
I am using this for the last 2 months only....
Still need to explore a lot...!
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0


Posted By: Aaron
Date Posted: 28 September 2010 at 12:03pm
Hi,
 
No, it can't be done without Markup. If that is only Markup you have to use, I wouldn't use Markup for columnheaders. If you still proceed with using Markup I guess you look at Jason's MarkupStripper and try to strip the Markup from ColumnHeader caption.
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: SHAN
Date Posted: 29 September 2010 at 10:33am
Ok Thanks Aaron

-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0


Posted By: znakeeye
Date Posted: 29 September 2010 at 10:46am
Originally posted by SHAN SHAN wrote:

I need to loop through column Headers and Read Column Caption.
 
Simply store the captions in an array and loop through the array instead of the column headers.


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: SHAN
Date Posted: 29 September 2010 at 11:28am
Yup that is a good idea...!
 It will solve this issue ....
Thanks ....


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0



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