Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - ImageManager
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ImageManager

 Post Reply Post Reply
Author
Message
Fini View Drop Down
Newbie
Newbie


Joined: 19 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fini Quote  Post ReplyReply Direct Link To This Post Topic: ImageManager
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fini View Drop Down
Newbie
Newbie


Joined: 19 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fini Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2007 at 12:06pm
Thats right for elements of XtremeCommandbars, but not for other controls.
Do you have annother solution? Thanks.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fini View Drop Down
Newbie
Newbie


Joined: 19 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fini Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2007 at 9:30am

Hi,

CreatePicture also has 1 argument...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Fini View Drop Down
Newbie
Newbie


Joined: 19 December 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fini Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2007 at 12:13pm
Many Thanks. That was it.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.142 seconds.