Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Is Icon-copy possible with upcoming V19?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is Icon-copy possible with upcoming V19?

 Post Reply Post Reply
Author
Message
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Topic: Is Icon-copy possible with upcoming V19?
    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]
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.188 seconds.