Print Page | Close Window

ImageManager

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6379
Printed Date: 17 November 2024 at 3:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ImageManager
Posted By: Fini
Subject: ImageManager
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: Fini
Date Posted: 12 February 2007 at 12:06pm
Thats right for elements of XtremeCommandbars, but not for other controls.
Do you have annother solution? Thanks.


Posted By: Oleg
Date 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


Posted By: Fini
Date 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


Posted By: Oleg
Date Posted: 13 February 2007 at 9:30am

Hi,

CreatePicture also has 1 argument...


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Fini
Date Posted: 13 February 2007 at 12:13pm
Many Thanks. That was it.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net