Customized Sort Icon |
Post Reply |
Author | |
SHAN
Groupie Joined: 17 July 2010 Location: Dubai Status: Offline Points: 73 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
SHAN
Groupie Joined: 17 July 2010 Location: Dubai Status: Offline Points: 73 |
Post Options
Thanks(0)
|
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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
|
|
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.... |
|
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 |