Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ScrollTime - method of object TrendsView

Description:
Scroll of the viewer in the time in the defined way.
Syntax:
ScrollTime(nType As Long, vPar1 As Variant)
Calling:
oTView.ScrollTime nType, vPar1
Parameters:
nType(Long) Scroll type. Suppose that:
Left scrolls to older time periods
Right scrolls to newer time periods
0,1 - Scroll Left/Right by the time interval specified in the vPar1. Into the vPar1 it is necessary to enter a value of the Date type.
10,11 - Scroll Left/Right by the distance multiple of the time scale minor tick tvScale.MinorTicksNum. In the vPar1, for example, the multiple equals 2.0.
20,21 - Scroll Left/Right by the distance multiple of the time scale main tick, see tvTicks. In the vPar1, for example, the multiple equals 2.0.
30,31 - Scroll Left/Right by the multiple of the page length. In the vPar1, for example, the multiple equals 1.0.
35 - Scroll Left/Right by the multiple of the page length. In the vPar1, for example, the multiple equals -1.0 and the sign specifies the scroll direction (-1=Left, 1=Right).
40,41,42 - Scroll by the left/right edge/center of the viewer to the time specified in the vPar1 parameter. Into the vPar1 parameter is it necessary to enter a value of the Date type.
50,51,52 - Scroll by the left/right edge/center of the viewer to the current time. Into the vPar1 it is necessary to enter the value 0.
60,61,62 - Scroll by the left/right edge/center of the viewer to the time that is entered in window. Into the vPar1 it is necessary to enter the value 0. This option is available only when the TimeType property is set to the time axis.
70 - Scroll so on the left edge of the viewer there is the closest non-displayed value of the active trend. see TrendActive. Into the vPar1 it is necessary to set the value 0.
 
71 - Scroll so on the left edge of the viewer there is the closest displayed value of the active trend. see TrendActive. Into the vPar1 it is necessary to set the value 0.
 
74 - Scroll so on the right edge of the viewer there is the closest newly displayed value of the active trend. see TrendActive. Into the vPar1 it is necessary to enter the value 0.
 
75 - Scroll so on the right edge of the viewer there is the closest newly non-displayed value of the active trend. see TrendActive. Into the vPar1 it is necessary to enter the value 0.
 
78 - Scroll so on the right edge of the viewer there is the old non-displayed value of the active trend. see TrendActive. Into the vPar1 it is necessary to enter the value 0.
 
79 - Scroll so on the left edge of the viewer there is new non-displayed value of the active trend. see TrendActive. Into the vPar1 it is necessary to enter the value 0.
 
90,91 - Scroll by the left/right edge of the viewer to the oldest/newest trend value in the active trend, see TrendActive. Into the vPar1 it is necessary to enter the value 0.
vPar1(Variant) Multiple value or the time in dependance on the nType setting
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice