1 Reply Latest reply on May 12, 2015 12:21 PM by pthivierge

    c# axPbd Button

    Nikolay

      Hi. I have a C# project with a component axPbd1. In axPbd1 downloaded the mnemonic, which is a button. How to know what button was pressed via PBObjLib and PBSymLib? How to catch the event of the button?

       

      How to call a macro inside a mnemonic?

        • Re: c# axPbd Button
          pthivierge

          Hello Nikolay,

           

          What kind of project is this?  Are you trying to build a docking window for PI ProcessBook?

          That usually really helps if you can give us more details about what you are trying to achieve as we may be able to consider other options that sometimes are not seen at the first place.

           

          But, to give a little start on this I think you may find some information in this post:

          trying to develop element relative display context change event handler in c# processbook add-in

          David Hollebeek gave a good advice in the post, telling that because COM is involved, you may have side effects with garbage collection, please see post for more detailed information.

           

          Other that that, I could also see that you have created another question very similiar to this one here: C# axPbd Do not work!

          Do you think we can delete one to keep only on discussion thread?

           

          Thanks for coming on PI Square and I am looking forward to learn more about your project!

           

          Best Regards,