vTrend | (Variant) Specifies which trend to scroll
-4 - Only the active trend, see the TrendActive property.
-3, "" - All trends
|
---|---|
nType | (Long) The size and direction of the scroll
0, 1 - Scroll down (to lower values), up (to higher values) by the interval set in the vPar1 parameter.
10, 11 - Scroll down, up by the distance multiple minor ticks of the value scale tvScale.MinorTicksNum. In the vPar1 parameter, for example, the multiple equals 2.0.
20, 21 - Scroll down, up by the distance multiple main ticks of the value scale, see the tvTicks object. In the vPar1 parameter, for example, the multiple equals 2.0.
30, 31 - Scroll down, up by the multiple of the page length. In the vPar1 parameter, for example, the multiple equals 1.0.
35 - Scroll down, up by the multiple of the page length. In the vPar1 parameter, for example, the multiple equals -1.0 and the sign specifies the scroll direction (down, up).
40, 41, 42 - Scroll by the down, up edge, center of the viewer to the value specified in the vPar1 parameter |
vPar1 | (Long) Interval, value or the multiple value in dependance on the nType setting |
var oTView = pMe.Items("../TrendView");
oTView.ScrollValue(-3, 10, 2);