Is Icon-copy possible with upcoming V19? |
Post Reply |
Author | |
Jebo
Senior Member Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
Post Options
Thanks(0)
Posted: 05 July 2019 at 9:48am |
Hi, I want only to add an alpha-color-Icon at runtime to an already exist CommandBar. But it doesn't work with 18.6 I already tried ... "MyCmdBar.Icons.AddBitmap MyImageManager.GetImage(200, 32).CreatePicture(xtpImageNormal).Handle, 200, xtpImageNormal, True" "MyCmdBar.Icons.AddIcon MyImageManager.GetImage(200, 32).CreatePicture(xtpImageNormal).Handle,
200, xtpImageNormal" "MyCmdBar.AddIconHandle MyImageManager.GetImage(200, 32).CreatePicture(xtpImageNormal).Handle, 200, xtpImageNormal, True" ...all these tries results in distorted Icons. So, Is there any new function to do this with the new version 19? I can't understand why imageManager-Items are not copyable to another one. The only think that works, is copy a imageManager-Item to a PushButton. So this code works, but not possible for CommandBar-Icons: "Set PushButton1.Icon = MyImageManager.Icons.GetImage(200, 32)" But I need the same feature for CommandBars! Or I'm wrong and it is already possible, but how? |
|
[Sig removed by Admin: Signature can't exceed 40GB]
|
|
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 |