I have two trends (trend1 and trend2) in PIProcessBook.
Both Trends are "sincronized" with VBA, this means that they have the same tags, the same colors and the same scale for each tag. The only difference is the time of both.
What I want to do is, when a user clicks on "Trend1" and hides a trace, I want to hide the same trace, but on the "Trend2".
How can I get the trace number that the user clicks to hide it?
Another option is to copy ALL the trace state (show/hide) to the Trend2, everytime the user clicks on the Trend1. How can I do this?