Class SLScope.TSLDisplayCursor
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: TSLOptionalAxesDisplayCollectionItem
Syntax
Delphi:
type TSLDisplayCursor = class( TSLOptionalAxesDisplayCollectionItem )
C++ Builder:
class TSLDisplayCursor : public TSLOptionalAxesDisplayCollectionItem
Visual C++ (MFC):
class CTSLDisplayCursor : public CTSLOptionalAxesDisplayCollectionItem
C# (.NET):
public ref class DisplayCursor : Mitov.PlotLab.OptionalAxesDisplayCollectionItem
Summary
Display channel cursor.
Description
Defines a display channel cursor. Cursors are used mainly to measure elements of on the display.
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