Class SLScope.TSLScopeCursorLink
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: TSLDisplayCursorLink
Contents | 
Syntax
Delphi:
type TSLScopeCursorLink = class( TSLDisplayCursorLink )
C++ Builder:
class TSLScopeCursorLink : public TSLDisplayCursorLink
Visual C++ (MFC):
class CTSLScopeCursorLink : public CTSLDisplayCursorLink
C# (.NET):
public ref class ScopeCursorLink : Mitov.PlotLab.DisplayCursorLink
Summary
Link between two scope cursors.
Description
\
Defines a link between two scope cursors, to be used for distance measurement or for selection/highlighting part of the scope.
Examples:
Measurement line:
Highlighting:
Properties
Published
- Selection - Specifies whether or not the selection area will be visible, and how it will be painted.
 
From TSLDisplayCursorLink
Properties
Published
- BeginCursorIndex - Specifies the index of the first (beginning) cursor to which the link is established.
 - EndCursorIndex - Specifies the index of the second (ending) cursor to which the link is established.
 - MeasurementLine - Specifies the settings for the measurement line.
 - MouseCursor - Specifies the image used to represent the mouse pointer when it passes into the region covered by the cursor link.
 
Public
- IsDynamic - The cursor link is created by the user from inside the component dialog.
 - BeginCursor - Specifies the first (beginning) cursor to which the link is established.
 - EndCursor - Specifies the second (ending) cursor to which the link is established.
 
Methods
Public
- function GetOwnerComponent() : TSLDataDisplay
 - function HitTest(ACursorsInfo : TSLHighlightInfo; X : Integer; Y : Integer; DispRect : TRect) : Boolean
 - procedure MoveTo(ACursorsInfo : TSLHighlightInfo; X : Integer; Y : Integer; DispRect : TRect)
 - procedure Draw(ADrawPart : TSLDisplayDrawPart; ACanvas : TLPCanvas; DispRect : TRect; Printing : Boolean)
 
Events
- OnClick - Occurs when the user clicks the display cursor link.
 - OnMouseDown - Occurs when the user presses a mouse button with the mouse pointer over the cursor link.
 - OnMouseUp - Occurs when the user releases a mouse button that was pressed with the mouse pointer over the cursor link.
 - OnMouseEnter - Occurs when the mouse pointer moves over the display cursor link.
 - OnMouseLeave - Occurs when the mouse pointer moves off from over the display cursor link.
 
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
 

