Note
This function automatically refreshes the display.
CursorStyle – cursor display type
Syntax: ReturnValue = ReadCWProperty
(GraphVarName, "
CursorStyle
")
WriteCWProperty
(GraphVarName, "
CursorStyle
", Value)
Description: Cursor display type.
Parameters: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Read value of the property (int)
Value Value to be set (int):
0 (= cross)
1 (= crosshairs)
2 (= vertical line)
3 (= horizontal line)
4 (= horizontal and vertical line))
ViewMoveZoomMode – response when zooming and shifting using gestures
Syntax: ReturnValue = ReadCWProperty
(GraphVarName, "
ViewMoveZoomMode
")
WriteCWProperty
(GraphVarName, "
ViewMoveZoomMode
", Value)
Description: The displayed view of the SlEsGraphCustomWidgets can be changed using
gestures. This property allows you to define which type should be permitted. For
example, in certain applications it may make sense that the view is only horizon‐
tally shifted and zoomed, e.g. when displaying measured value characteristics.
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Read value of the property (int)
Value Value to be set (int):
0 (= off)
1 (= only horizontal)
2 (= only vertical)
3 (= horizontal and vertical)
7.5.5 Functions
You can call the subsequently listed functions using the CallCWMethod() function.
Example
Setting the view of the SlEsGraphCustomWidget link using display variable "MyGraphVar".
Graphic and logic elements
7.5 SIEsGraphCustomWidget
SINUMERIK Integrate Run MyScreens (BE2)
230 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1