![]() |
ImageManager returns wrong handle |
Post Reply ![]() |
Author | |
mlatona ![]() Senior Member ![]() Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
![]() ![]() ![]() ![]() ![]() Posted: 31 October 2007 at 9:25am |
The property 'handle' returns always 0.
Code example:
ImageManager.Icons.GetImage(1, 16).Handle
|
|
![]() |
|
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() |
ImageManager.Icons.GetImage(1, 16).Handle
Is 1 your ID of the Immage ?
For GetImage you must use the ID not the Index.
|
|
![]() |
|
mlatona ![]() Senior Member ![]() Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
![]() ![]() ![]() ![]() ![]() |
1 is the ID.
I think, it`s a bug in 11.2.1 beta.
The same code works in 11.2.0
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
use CreatePicture method to convert to Icon or use Draw to draw.
See release notes.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |