Print Page | Close Window

Icon Only ReportControl Column Header

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=14020
Printed Date: 15 November 2024 at 12:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Icon Only ReportControl Column Header
Posted By: jpbro
Subject: Icon Only ReportControl Column Header
Date Posted: 14 April 2009 at 11:48pm
Is there a way to only show an icon in a ReportControl column header without setting the Caption property to an empty string? When you set the Caption property to an empty string, then the "Sort by" tooltip doesn't have a caption.

Thanks for any help.


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

Language: Visual Basic 6.0 SP6




Replies:
Posted By: Aaron
Date Posted: 15 April 2009 at 2:10am
Hi Jason,
 
You could set column.Tooltip manually and set caption to ""
 
 
 
 
Output:                  
 
 
 
 


-------------
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: 15 April 2009 at 2:36pm
Thanks a lot Aaron, this works for my purposes.

A potential problem that arises is that the columns with no captions appear blank in the FieldChooser control. So ideally, we would have a HeaderStyle property for the ReportColumn object with XtpHeaderStyle_Icon and XtpHeaderStyle_Caption values (that could be added together to show both the icon and the caption).


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

Language: Visual Basic 6.0 SP6




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