[SOLVED!] Change icons at runtime? |
Post Reply |
Author | |
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You can change IconId property of control...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
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 |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
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 |
|
hamidtavalla
Newbie Joined: 16 April 2011 Location: ff Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Hi
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |