Visit Gigasoft's Web Site
 ProEssentials v9 Help

CursorSubset

Scope

Pego, Pesgo, Pepso

Type

Int32

Default

0

.NET

PeUserInterface.Cursor.Subset

Ocx|Vcl

CursorSubset

DLL

PEP_nCURSORSUBSET

 

Purpose

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

 

Comments

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

 

The programmer can use this property in conjunction with CursorPoint to either retrieve which data point has the cursors focus or change which data point should receive the cursors focus.

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 CursorPoint, 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.