![]() |
ImageManager |
Post Reply ![]() |
Author | |
Fini ![]() Newbie ![]() Joined: 19 December 2006 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 12 February 2007 at 7:49am |
This is the code for the Microsoft ImageList-Control:
Set mobjGridProperty.CellButtonPicture = ImageListControl.ListImages("button").Picture How I can use the ImageManager-control of codejock? (Is there a property like "ListImages(strkey).picture?) Thanks |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
in some 10.x was added Icons.GetImage(Command, Width).CreatePicture method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Fini ![]() Newbie ![]() Joined: 19 December 2006 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Thats right for elements of XtremeCommandbars, but not for other controls.
Do you have annother solution? Thanks. |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
For other too. This method only can't be use for Alph Icons.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Fini ![]() Newbie ![]() Joined: 19 December 2006 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Thanks for the answer. I tried but there is always the message "Argument is not optional".
Here my code: Set mobjGridProperty.CellButtonPicture = Me.axcImageManager.Icons.GetImage(111, 16).CreatePicture 111 = Id of Image (command) 16 = width Thanks for help |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, CreatePicture also has 1 argument...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Fini ![]() Newbie ![]() Joined: 19 December 2006 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Many Thanks. That was it.
|
|
![]() |
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 |