Promotic
WikipediaLinkedInYoutubeTwitterFacebook

CursorValue - method of object tvTrend

Description:
Value that corresponds to the cross of the cursor vertical line with the trend graph.
Syntax:
CursorValue([nStyle As Long]) As Double
Calling:
n = oTrend.CursorValue(nStyle)
Parameters:
nStyle[optional] (Long) further specification of the cross
0 (default) - Data point is searched whose time is less or equal the time of the cursor vertical line
1 - Data point is searched whose time is greater or equal the time of the cursor vertical line
2 - Data point is searched that is closest to the time of the cursor vertical line
Note:

The method is used only if the graphic mode is set.

 
The method returns the value Empty:
- if there is no point in the data points buffer (the property has nothing to return)
- if the cursor is not switched on (i.e. is set TrendsView.CursorType = 0) or
- if the table mode is (i.e. is set TrendsView.ViewMode = "table")
PROMOTIC 8.3.27 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