![]() |
Add Item to a Gallery |
Post Reply ![]() |
Author | |
cmm2006 ![]() Senior Member ![]() Joined: 26 September 2006 Status: Offline Points: 118 |
![]() ![]() ![]() ![]() ![]() Posted: 14 December 2009 at 4:19pm |
Hi,
is there any way to add an item to a gallery using the standard imagelist? if so, can you help with a sample please?
thank you,
![]() |
|
Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3 Product: Codejock Xtreme SuitePro 13.1 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Whats wrong with ImageManger control ? Just replace ImageList to ImageManager and you don't need deliver comctrl.ocx. Plus it support muliple dimensions and alpha icons.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cmm2006 ![]() Senior Member ![]() Joined: 26 September 2006 Status: Offline Points: 118 |
![]() ![]() ![]() ![]() ![]() |
HI,
there is nothing wrong with CJ ImageManager (I just used Imagelist for years), but still did not get an answer to my request. How can I be able to add item to a Gallery? I tried: const ID_USER=100 commandbars.AddImageList ImageList1 '(or ImageManager1) ItemsStyles.AddItem "ID_USER,"Users" and for some reasons the only thing is shown is the caption "Users" but no image... ![]() Also, is there any way to center the caption underneath the image? Please help!!! |
|
Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3 Product: Codejock Xtreme SuitePro 13.1 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
See How it works in RibbonSample + its ID_GALLERY_SHAPES.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cmm2006 ![]() Senior Member ![]() Joined: 26 September 2006 Status: Offline Points: 118 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
Well I did, and the RibbonSample does not have ImageManager, so how the sample can help me?
![]() thank you
|
|
Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3 Product: Codejock Xtreme SuitePro 13.1 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
This line set icons for Shapes gallery
GalleryShapeItems.Icons = CommandBars.Icons
It can be
GalleryShapeItems.Icons = ImageManager1.Icons
if you want load it from ImageManager1 control |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cmm2006 ![]() Senior Member ![]() Joined: 26 September 2006 Status: Offline Points: 118 |
![]() ![]() ![]() ![]() ![]() |
Thank you Oleg
![]() |
|
Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3 Product: Codejock Xtreme SuitePro 13.1 |
|
![]() |
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 |