Print Page | Close Window

[SOLVED!] Change icons at runtime?

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=15928
Printed Date: 16 May 2024 at 9:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED!] Change icons at runtime?
Posted By: shipwreck
Subject: [SOLVED!] Change icons at runtime?
Date Posted: 28 December 2009 at 12:27am
Okay folks, jpbro just helped me have two commandbar buttons combined into one as a refresh/stop button. Well, I have it going well but I want to assign a refresh and stop icon to each button in the combination.
Any one know how to do this?


-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6



Replies:
Posted By: Oleg
Date Posted: 28 December 2009 at 11:17am
Hi,
You can change IconId property of control...


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


Posted By: shipwreck
Date Posted: 28 December 2009 at 11:28am
Change the icon ID? What exactly do you mean?
Are you trying to say to load the icons one for each icon id, and then just change the iconID instead?


-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6


Posted By: shipwreck
Date Posted: 28 December 2009 at 12:45pm
Okay Oleg; jpbro cleared this up for me in a previous post. Thanks though.

-------------
Product: Xtreme Suite Pro (Active-X), Version 15.3.1

Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit)

Language: Visual Basic 6.0 SP6


Posted By: hamidtavalla
Date Posted: 16 April 2011 at 8:33am
 Hi  Handshake
In response to your question .. You can change the following code to object when the program icon, use:
 

mybtn.controls.find(,100).iconid=1000

Instead you can index 10 index Leave your desired key. Finally, the new icon index
I do not speak much English. Excuse bad writing.

 





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