Visit Gigasoft's Web Site
 ProEssentials v10 Help

CursorPoint

Scope

Pego, Pesgo, Pepso

Type

Int32

Default

0

.NET

PeUserInterface.Cursor.Point

Ocx|Vcl

CursorPoint

DLL

PEP_nCURSORPOINT

 

Purpose

This property is used to either get or set the zero-based index of the point that has the cursors focus.

 

Comments

PeUserInterface.Cursor.Point members of Pego.PeUserInterface.Cursor, Pesgo.PeUserInterface.Cursor, Pepso.PeUserInterface.Cursor

 

The programmer can use this property in conjunction with CursorSubset to either retrieve which data point has the cursors focus or change which data point should receive the cursors focus. If the cursor is moved to a point outside the zoom extents of the current graph, the graph is automatically scrolled so that the data point with the focus is visible.

 

If your chart contains null data (NullDataValue), then make sure not to change the CursorSubset and CursorPoint properties to a location that holds a piece of null data.

 

If also setting CursorSubset, then be sure to set CursorSubset before CursorPoint. Setting the CursorPoint property is what triggers the movement of the cursor.

 

This property is only meaningful if CursorMode is not equal to PECM_NONE.

 

Within the demo, see example 105.

 

Related events:

.NET: PeCursorMoved and PePreCursorMove events
ActiveX: CursorMoved and PreCursorMove events
SDK/DLL: PEWN_CURSORMOVED and PEWN_PRE_CURSORMOVE notification messages.