Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ScrollValue - method of object TrendsView

Description:
Scroll of the trend viewer in the value axis (Y) in the defined way.
Syntax:
ScrollValue(vTrend As Variant, nType As Long, vPar1 As Long)
Calling:
oTView.ScrollValue vTrend, nType, vPar1
Parameters:
vTrend(Variant) Which trend to scroll
-4 - Only the active trend, see TrendActive.
-3, "" - All trends
"id" - Trend with the id identifier, see tvTrend.ID.
nType(Long) Size and direction of the scroll
0, 1 - Scroll down (to lower values), up (to higher values) by the interval set in the vPar1
10, 11 - Scroll down, up by the distance multiple of the value scale minor tick tvScale.MinorTicksNum. In vPar1, for example, the multiple equals 2.0.
20, 21 - Scroll down, up by the distance multiple of the value scale main tick, see tvTicks. In vPar1, for example, the multiple equals 2.0.
30, 31 - Scroll down, up by the multiple of the page length. In vPar1, for example, the multiple equals 1.0.
35 - Scroll down, up by the multiple of the page length. In vPar1, 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
vPar1(Long) Interval, value or the multiple value in dependance on the nType setting
Note:
It is used only when the graph mode is set.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice