AnsweredAssumed Answered

Display macros and ThisDisplay

Question asked by xando on Mar 25, 2015
Latest reply on Mar 27, 2015 by xando

Hi,

 

I have made i toolbar and one thing don't work exactly as I expected.

 

I have creation of the tollbar in a VB.NET-dll and I have that as a reference i my displays. A click on the toolbar-button
runs i macro in every display, at least that was the meaning...


I made a start display (PDI) with different signal values and if I select one value and click the toolbar I can use ThisDisplay
in the macro to found out the signal name. But I can also load another display from i button in my start display, a second PDI,
but when I select a value in this display and click the toolbar button it runs the macro in the first display an there is no
values selected. Should it not run the macro in the active display? Or is there another to do this?

 

/Anders

Outcomes