Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Icon Only ReportControl Column Header
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Icon Only ReportControl Column Header

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: Icon Only ReportControl Column Header
    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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

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.234 seconds.