YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Add a trace to BatchTrend using VBA Options · View
Chevanton84
#1 Posted : Wednesday, March 30, 2011 4:18:14 PM
Rank: Newbie
Groups: Member

Joined: 3/8/2011
Posts: 4
Hi everyone!!

I have a batchtrend configured with an alias and I want to add a trace to this batchtrend when an user double-click it.
I want to do this, because I want to show a new alias in my batchtrend only when the user is in "fullscreen".

How I can do this using VBA?
I think that the function
"Private Sub BatchTrend1_BeforeDoubleClick(bCancelDefault As Boolean, ByVal lvarX As Long, ByVal lvarY As Long)"
could it be perfect to get the double click event.

Moreover, I want to change the color of the second pen, because otherwise I've seen that it keeps the same color of the first pen.

Could you help me?

Tommaso.
Sponsor  
 

OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System.
We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ  or contact OSIsoft vCampus for more details.
Users browsing this topic
Guest
Forum Jump  
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.