![]() |
CreatePicture Method |
Post Reply ![]() |
Author | |
Caldarola ![]() Newbie ![]() Joined: 29 August 2006 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 31 August 2006 at 9:51am |
I am using CommandBars v10.3 and notice that the CreatePicture method of the ImageManagerIcon object does not return a StdPicture object as documented.
Any ideas what is wrong? Example: Private Sub Example1() Dim i As ImageManagerIcon Dim p As StdPicture Set i = ImageManager1.Icons.GetImage(101, 16) ' the value returned is nothing! Set p = i.CreatePicture(xtpImageNormal) ' ... so no picture Picture1.Picture = p End Sub |
|
![]() |
|
Caldarola ![]() Newbie ![]() Joined: 29 August 2006 Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
Update...
CreatePicture must not like when alpha icons are used. I just switched to a non-alpha icon with same code and all is well. I wonder if this is a bug, a limitation, or something else? Thanks. |
|
![]() |
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 |