Print Page | Close Window

Creating Popups with different width images

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15287
Printed Date: 22 February 2025 at 8:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Creating Popups with different width images
Posted By: rmcmanamy
Subject: Creating Popups with different width images
Date Posted: 01 October 2009 at 11:05pm
Most of my icons are 16x61 but I have a case where I want to have a Popup control that uses icons that are 80x16.  Using the SetIcon function only appears to shift where the icon is located but not actually make it use a wider icon?  Is this not possible in the CommandBars?
 
Essentially I'm trying to make something like an ImageComboBox that has the same look as the CommandBars like this.



Replies:
Posted By: Oleg
Date Posted: 12 October 2009 at 2:47am
Hi,
 
Actually I have no problem with SetIconSize call - it resize space and uses wider icon:
 
http://forum.codejock.com/uploads/20091012_024714_Sample.zip - uploads/20091012_024714_Sample.zip


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


Posted By: rmcmanamy
Date Posted: 15 October 2009 at 9:53pm
Thanks.  Stupid me.  I was trying to use the SetIConSize on the individual popup control, not the CommandBar.
 
oControl.CommandBar.SetIconSize is what you need to do if anyone else tries it the wrong way.



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