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
Contents |
Syntax
Delphi:
type TSLDisplayCursor = class( TSLOptionalAxesDisplayCollectionItem )
C++ Builder:
class TSLDisplayCursor : public TSLOptionalAxesDisplayCollectionItem
Visual C++ (MFC):
class CTSLDisplayCursor : public CTSLOptionalAxesDisplayCollectionItem
C# (.NET):
public ref class TSLDisplayCursor : 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.
- Channels - Collection of channels that will be measured with this cursor.
- 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)
- procedure MoveTo(Horizontal : Boolean; Vertical : Boolean; 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
Properties
Published
- 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
- XAxis - Specifies the X axis the element will be associated with.
- YAxis - Specifies the Y axis the element will be associated with.
From TSLOptionalDisplayCollectionItem
Properties
Published
- Visible - Specifies if the item will be visible.