Print Page | Close Window

Allow for non-square icons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=11900
Printed Date: 23 May 2024 at 3:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Allow for non-square icons
Posted By: ddragut
Subject: Allow for non-square icons
Date Posted: 20 August 2008 at 7:19am
Hi,
 
We're migrating to CodeJock  XtremePro control suite from Microsoft Controls due to Unicode requirements and we're having this problem with existing icons that are not not the usual squared size (e.g. 28 x 16).
 
Microsoft's ListView and TreeView were displaying them fine - I do understand the difference in logic and that your ImageManager allows for multiple image sets per icon and how TreeView / ListView IconSize property selects the correct icon set from the manager.
 
Would it possible though to add some IconHeight & IconWidth properties to complement IconSize and to adjust the Tree Node / List Item height / width to use those to calculate the height / width.
 
Currently, the only solution is to create a new set of icons of 28 x 28 pixels, but that would space out the nodes / list items way too much.
 
Thanks,
Dan
 


-------------
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3
Language: PROGRESS 4GL - OpenEdge 10.1C



Replies:
Posted By: Oleg
Date Posted: 20 August 2008 at 8:46am
Thanks, you are right unfortunatelly now you can't use 28*16 icons :-(   will check what can be done.
Thanks.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ddragut
Date Posted: 20 August 2008 at 8:48am
Thanks Oleg 


-------------
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3
Language: PROGRESS 4GL - OpenEdge 10.1C


Posted By: ddragut
Date Posted: 27 August 2008 at 12:36pm
Hi Oleg,
 
Any feedback from delevopment?
 
I need to convert a program that is using 32 x 19 icons. If I go for square icons, that would basically add 13 pixels between ListView entries, stretching things a lot.
 
Thanks,
Dan


-------------
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3
Language: PROGRESS 4GL - OpenEdge 10.1C


Posted By: ddragut
Date Posted: 23 October 2008 at 8:51am
For anyone interested, new SetIconsSize (width, height) method will be added to both TreeView and ListView in version 12.1.0 (support issue
#18968), to be released sometime in November.
 
Big thumbs up to the development team and Oleg as well!


-------------
Product: Codejock Xtreme SuitePro (ActiveX) version 12.1.1
OS: Windows XP Pro (32 bit) SP3
Language: PROGRESS 4GL - OpenEdge 10.1C



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