Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Customized Sort Icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customized Sort Icon

 Post Reply Post Reply
Author
Message
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Topic: Customized Sort Icon
    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
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: 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....
Back to Top
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post 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
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: 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
 
 
 
 
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
 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.109 seconds.