Add Icon to ShortcutCaption |
Post Reply |
Author | |
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
Posted: 24 February 2009 at 5:37am |
hi,
is there any way to add an icon (16x16 or 32x32,...) to ShortcutCaption control? if so, please let me know how? thank you NOTE: please reply ASAP |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Did you try Icon property ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
hi,
i checked your help file, but it's not clear how you can use the icon property, so little bit of help please.... thank you |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Add ImageManager from CommandBars.ocx, load your ico or bmp in design time and add in code
Set sb.Icon = ImageManager.GetImage(...)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
cmm2006
Senior Member Joined: 26 September 2006 Status: Offline Points: 118 |
Post Options
Thanks(0)
|
Hi all,
I was wondering how to do the same thing, but how can I do it using the standard imagelist. I tried the following code but for some reason it's not showing the icon, some help here.... code: set sb.icon=imagelist1.listimages(index).extracticon |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You can't do it with ImageList :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
cmm2006
Senior Member Joined: 26 September 2006 Status: Offline Points: 118 |
Post Options
Thanks(0)
|
well that is not good at all, is there any chance that can be added in the next release? about the imagemanager, how can I add icons from an existing folder in my pc? thank you |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Almost all our samples from CommandBars folder show it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
thank you all,
I tried the ImageManger control and it did worked with the following code: set sb.icon=imagemanager.icons.geticon(IconIndexHere, 0) and not: set sb.icon=imagemanger.getimage(...) thank you, |
|
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 |