Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Index - property of the tvTrend object

Description:
Returns/sets the order of the tvTrend object.
Syntax:
Long Index
Note:
Property access for read and write.

The object order is given by the way of calling the PmgTrendViewer.AddTrend or PmgTrendViewer.InsertTrend method.

Trends are drawn step by step according to the order. The active trend is drawn top most - its index is given by the PmgTrendViewer.TrendActive property.

Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends("t1");
if (oTrend)
{
var nIndex = oTrend.Index;  //reading
//or
oTrend.Index = 2;  //writing
}
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice