ENTRY OnGraphValueToolTipText(IN INT _refId, IN INT _LineNr, IN REAL _value, IN OUT TEXT _toolTipTitle, IN OUT TEXT _toolTipText)
; akcie
END OnGraphValueToolTipText
Special handler:
ENTRY XXX_OnGraphValueToolTipText(IN INT _LineNr, IN REAL _value, IN OUT TEXT _toolTipTidle, IN OUT TEXT _toolTipText)
; akcie
END XXX_OnGraphValueToolTipText
Parameters
_refId
Required input parameter of Int type for global event
handler.
XXX
Name of reference variable connected to graphic object without
the character "_".
_LineNr
Serial number of graphic flow when the button was pressed.
_value
Value for which the ToolTip will be displayed.
_toolTipTitle
Return value - title displayed in ToolTip.
_toolTipText
Return value - text displayed in ToolTip.
Description
The picture event is generated by displayer of Graph type before the text in ToolTip
is displayed. Parameter _value contains
the proper value and timestamp.
Texts, generated automatically, are put in the form of value into the
parameters
_toolTipTitle and_toolTipText. After picture event handler ends
these texts will display. This feature allows to change the display text. If
parameter _toolTipTitle is set on invalid value by event handler, the
ToolTip will not display.
ENTRY GRAPH_OnGraphValueToolTipText(IN INT _LineNr,IN REAL _value, TEXT _toolTipTitle, TEXT _toolTipText)
_toolTipTitle:= "Water temperature"
_toolTipText:= %IToStr(_value) + "°C"
END GRAPH_OnGraphValueToolTipText
0 komentárov