Print Page | Close Window

ImageManager returns wrong handle

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=8618
Printed Date: 16 November 2024 at 2:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ImageManager returns wrong handle
Posted By: mlatona
Subject: ImageManager returns wrong handle
Date Posted: 31 October 2007 at 9:25am
The property 'handle' returns always 0.
 
Code example:
ImageManager.Icons.GetImage(1, 16).Handle
 
 



Replies:
Posted By: Baldur
Date Posted: 31 October 2007 at 9:31am
ImageManager.Icons.GetImage(1, 16).Handle
 
Is 1 your ID of the Immage ?
For GetImage you must use the ID not the Index.


Posted By: mlatona
Date Posted: 31 October 2007 at 10:28am
1 is the ID.
I think, it`s a bug in 11.2.1 beta.
 
The same code works in 11.2.0
 


Posted By: Oleg
Date Posted: 31 October 2007 at 10:31am
Hi,
 
use CreatePicture method to convert to Icon or use Draw to draw.
See release notes.


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



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