![]() |
ImageManager |
Post Reply
|
| Author | |
Fini
Newbie
Joined: 19 December 2006 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: ImageManagerPosted: 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 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 February 2007 at 8:23am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 February 2007 at 12:06pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2007 at 7:54am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2007 at 9:12am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2007 at 9:30am |
|
Hi, CreatePicture also has 1 argument...
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Fini
Newbie
Joined: 19 December 2006 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2007 at 12:13pm |
|
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 |