Class SLScope.TSLScopeCursor
From Mitov Wiki Doc
				
				
				
				
																
				
				
								
				This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabScopePkg
Unit: SLScope
Inherits: TSLDisplayCursor
Syntax
Delphi:
type TSLScopeCursor = class( TSLDisplayCursor )
C++ Builder:
class TSLScopeCursor : public TSLDisplayCursor
Visual C++ (MFC):
class CTSLScopeCursor : public CTSLDisplayCursor
C# (.NET):
public ref class ScopeCursor : Mitov.PlotLab.DisplayCursor
Summary
Scope channel cursor.
Description
Defines a scope channel cursor. Cursors are used mainly to measure elements of on the scope.
Properties
Published
- Channels - Collection of channels that will be measured with this cursor.
 - XAxisIndex - Specifies the index of the X axis the element will be associated with.
 - YAxisIndex - Specifies the index of the Y axis the element will be associated with.
 
Public
From TSLDisplayCursor
Properties
Published
- Position - Specifies the X and Y position of the cursor.
 - Color - Specifies the color of the cursor.
 - CanDrag - Specifies if the cursor can be dragged by mouse.
 - Kind - Specifies the cursor kind - Horizontal, Vertical or Both (Crossed).
 - MouseCursors - Specifies the image used to represent the mouse pointer when it passes into the region covered by the display cursor.
 
Public
- CursorLinks - Collection of cursor links.
 - IsDynamic - The cursor is created by the user from inside the component dialog.
 
Methods
Public
- procedure Draw(ACanvas : TLPCanvas; DispRect : TRect)
 - function HitTest(ACursorsInfo : TSLHighlightInfo; X : Integer; Y : Integer; DispRect : TRect) : Boolean
 - procedure MoveTo(ACursorsInfo : TSLHighlightInfo; X : Integer; Y : Integer; DispRect : TRect)
 
Events
- OnClick - Occurs when the user clicks the cursor.
 - OnMouseDown - Occurs when the user presses a mouse button with the mouse pointer over the cursor.
 - OnMouseUp - Occurs when the user releases a mouse button that was pressed with the mouse pointer over the cursor.
 - OnMouseEnter - Occurs when the mouse pointer moves over the display cursor.
 - OnMouseLeave - Occurs when the mouse pointer moves off from over the display cursor.
 
From TSLOptionalAxesDisplayCollectionItem
Methods
Public
From TSLOptionalDisplayCollectionItem
Properties
Published
- Visible - Specifies if the item will be visible.
 
From TSLDisplaySelectableCollectionItem
Methods
Public
- procedure MouseEnter()
 - procedure MouseLeave()
 - procedure MouseDown(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer; MouseInside : Boolean; var MouseHandled : Boolean)
 - procedure MouseUp(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer; MouseInside : Boolean)
 
From TSLDisplayCollectionItem
Properties
Published
- Tag - Stores an general purpose integer value as part of an item