Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_TrendX_DspPopupMenu

CSV_TrendX_DspPopupMenu

Creates a popup at the location of the mouse on an Instant Trend page, giving the user a choice of selecting a trend pen (i.e., selecting a tag to be trended by the selected pen), or clearing a trend pen.

If the user chooses 'select trend pen' then a form is displayed allowing the user to select a variable tag to be trended by the pen from a menu of available variable tags. If the user chooses 'clear trend pen', the selected trend pen is deleted. Called when the user right-clicks a trend pen marker.

Syntax

CSV_TrendX_DspPopupMenu(hTrendAN, iPenNo)

#hTrendAn:

AN number of Instant Trend.

#iPenNo:

Number of trend pen to select/clear.