Programmer Guide/Shell Items/Graph/SET GRAPH/CURSORMODE

From STX Wiki
Jump to navigationJump to search

Configure the graph cursors' visibility and functionality. One of the options /Graph, /Shell or /Both can be used to define the handling of the special graphic keys (cursor keys and some function keys). See Cursors for a general description of STx cursor functionality.

SET graph CURSORMODE mode style values bound locked rubberline scolor ucolor limit xormode [/Graph|Shell|Both]
argument description
mode Set the cursor visibility (OFF, 1, 2 or BOTH). Cursors are off by default.
style Set the cursor display style (CROSS, CROSSHAIR, HBAR, VBAR, HBARCROSS, VBARCROSS, HARMONIC, YHARMONIC, RANGESELECTION, CROSSCIRCLE or CROSSSQUARE).
values Turn the cursor tooltip window ON or OFF. The tooltip displays the position of the cursor directly underneath the user's mouse.
bound Use the index of a function to bind the cursors to a function or -1 to allow unrestricted cursor movement..
locked Turn cursor locking ON or OFF. If cursors are locked, moving a cursor in one splitter will cause it to move in all other splitters in the graph. If cursors are unlocked, they can be moved independently in all splitters in the graph.
rubberline Turn the rubber line ON or OFF. A rubber line is a line between the two cursor positions.
scolor Set the color for selected cursors (see Colors and Color Arguments).
ucolor Set the color for unselected cursors (see Colors and Color Arguments).
limit If limit is set to VIEW, cursors which are turned on are restrained to within the current view. If their position moves outside the view (e.g. due to a zoom command), the cursors are repositioned inside the view. If set to RANGE, cursors may be positioned outside of the view (but never outside of the range. The default is VIEW. The attribute !CURSORLIMIT returns the current limit.
xormode Cursors can be drawn using XOR drawing. This can be useful, if the graph contains many colors, making cursor colour selection difficult. This parameter must be either ON or OFF. The default is ON.
/Graph The graph handles special cursor keys.
/Shell The graph sends KEY messages to the shell.
/Both The graph handles special cursor keys and sends KEY messages.

Navigation menu

Personal tools