Print Page | Close Window

Customized Sort Icon

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


Topic: Customized Sort Icon
Posted By: SHAN
Subject: Customized Sort Icon
Date Posted: 18 July 2010 at 2:20am
Hi,
 
 How to assign Customized Icon for Sort Order?


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



Replies:
Posted By: Aaron
Date Posted: 22 July 2010 at 1:28pm
Hi,
 
You can change icons in wndReportControl.PaintManager.Glyphs.Icons collection, just add your own icons with proper index.
 
 
Where Minus icon index = 0 and Unlocked icon index = 10
 
 


-------------
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: 22 July 2010 at 2:35pm
Hi Thanks for Your Help..!I am just looking for Changing Ascending or Descending Order Triangle Icon.I use 13.4 version.
i


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


Posted By: Aaron
Date Posted: 23 July 2010 at 3:50pm
Hi,
 
OK, I forgot to mention icon with index 11 & 12 are for asc & desc icons in columnheader
 
 
wndReportControl.PaintManager.Glyphs.Icons.AddIcon Me.ImageManager.Icons.GetImage(INDEX_OF_ICON_ASCENDING,16), 11, xtpIconNormal
wndReportControl.PaintManager.Glyphs.Icons.AddIcon Me.ImageManager.Icons.GetImage(INDEX_OF_ICON_DESCENDING,16), 12, xtpIconNormal
 
Just add own image to Glyphs (there are a lot of ways to this) just use index 11 & 12 and all will be fine
 
Note: I had problems with last version because CJ changed index of sort icons see post https://forum.codejock.com/forum_posts.asp?TID=11635 - https://forum.codejock.com/forum_posts.asp?TID=11635
 
 
 
 


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



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