Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [SOLVED!] Change icons at runtime?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED!] Change icons at runtime?

 Post Reply Post Reply
Author
Message
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED!] Change icons at runtime?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 December 2009 at 11:17am
Hi,
You can change IconId property of control...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
hamidtavalla View Drop Down
Newbie
Newbie


Joined: 16 April 2011
Location: ff
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote hamidtavalla Quote  Post ReplyReply Direct Link To This Post 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.

 


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.