Print Page | Close Window

TabControl : tab 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=11990
Printed Date: 22 November 2024 at 2:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TabControl : tab icons
Posted By: ddragut
Subject: TabControl : tab icons
Date Posted: 27 August 2008 at 8:33am
Hi,
 
We already have a set of 24 x 24 icons that we've used in the past with Microsoft TabStrip and ImageList and I'm trying to migrate that to Xtreme controls.
 
My problem is that the icons are displayed too small by default and if I use the "Large Icons" option they are bigger but smudgy.
 
Since there is no setting in the TabControl properties to specify the icons size I would've expected the control to resize the height of the tabs to accomodate for the image height as included in the ImageManager, rather than down size them to what it looks like 16 x 16.
 
Any comments on that please?
 
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: 27 August 2008 at 3:55pm
Hi,
Use TabControl.PaintManager.SetIconSize to set icons size.


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


Posted By: ddragut
Date Posted: 28 August 2008 at 9:56am
Thanks Oleg,
 
SetIconSize() did the trick!
 
Dan


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