Index - property of the tvTrend object

The property returns or sets the order of the tvTrend object.
Long Index
Property access for read and write.
This property is also functional in Web panels.
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 up most - its index is given by the PmgTrendViewer.TrendActive property.
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends("t1");
if (oTrend)
var nIndex = oTrend.Index;   // Reading from the property
// or
oTrend.Index = 2;   // Writing into the property
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.