Class SLScope.TSLDisplayCursor
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 41: | Line 41: | ||
*[[Property SLScope.TSLDisplayCursor.Color|Color]] - Specifies the color of the cursor. | *[[Property SLScope.TSLDisplayCursor.Color|Color]] - Specifies the color of the cursor. | ||
*[[Property SLScope.TSLDisplayCursor.CanDrag|CanDrag]] - Specifies if the cursor can be dragged by mouse. | *[[Property SLScope.TSLDisplayCursor.CanDrag|CanDrag]] - Specifies if the cursor can be dragged by mouse. | ||
− | |||
*[[Property SLScope.TSLDisplayCursor.Kind|Kind]] - Specifies the cursor kind - Horizontal, Vertical or Both (Crossed). | *[[Property SLScope.TSLDisplayCursor.Kind|Kind]] - Specifies the cursor kind - Horizontal, Vertical or Both (Crossed). | ||
*[[Property SLScope.TSLDisplayCursor.MouseCursors|MouseCursors]] - Specifies the image used to represent the mouse pointer when it passes into the region covered by the display cursor. | *[[Property SLScope.TSLDisplayCursor.MouseCursors|MouseCursors]] - Specifies the image used to represent the mouse pointer when it passes into the region covered by the display cursor. | ||
Line 53: | Line 52: | ||
=== Public === | === Public === | ||
*[[Method procedure SLScope.TSLDisplayCursor.Draw(TLPCanvas;TRect)|procedure Draw(ACanvas : TLPCanvas; DispRect : TRect)]] | *[[Method procedure SLScope.TSLDisplayCursor.Draw(TLPCanvas;TRect)|procedure Draw(ACanvas : TLPCanvas; DispRect : TRect)]] | ||
− | *[[Method | + | *[[Method function SLScope.TSLDisplayCursor.HitTest(TSLHighlightInfo;Integer;Integer;TRect) : Boolean|function HitTest(ACursorsInfo : TSLHighlightInfo; X : Integer; Y : Integer; DispRect : TRect) : Boolean]] |
+ | *[[Method procedure SLScope.TSLDisplayCursor.MoveTo(TSLHighlightInfo;Integer;Integer;TRect)|procedure MoveTo(ACursorsInfo : TSLHighlightInfo; X : Integer; Y : Integer; DispRect : TRect)]] | ||
== Events == | == Events == | ||
Line 64: | Line 64: | ||
== From [[Class SLScope.TSLOptionalAxesDisplayCollectionItem|TSLOptionalAxesDisplayCollectionItem]] == | == From [[Class SLScope.TSLOptionalAxesDisplayCollectionItem|TSLOptionalAxesDisplayCollectionItem]] == | ||
− | == | + | == Methods == |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
=== Public === | === Public === | ||
− | *[[ | + | *[[Method function SLScope.TSLOptionalAxesDisplayCollectionItem.GetOwnerComponent() : TSLDataDisplay|function GetOwnerComponent() : TSLDataDisplay]] |
− | + | ||
== From [[Class SLScope.TSLOptionalDisplayCollectionItem|TSLOptionalDisplayCollectionItem]] == | == From [[Class SLScope.TSLOptionalDisplayCollectionItem|TSLOptionalDisplayCollectionItem]] == | ||
Line 80: | Line 75: | ||
=== Published === | === Published === | ||
*[[Property SLScope.TSLOptionalDisplayCollectionItem.Visible|Visible]] - Specifies if the item will be visible. | *[[Property SLScope.TSLOptionalDisplayCollectionItem.Visible|Visible]] - Specifies if the item will be visible. | ||
+ | |||
+ | == From [[Class SLScope.TSLDisplaySelectableCollectionItem|TSLDisplaySelectableCollectionItem]] == | ||
+ | |||
+ | == Methods == | ||
+ | |||
+ | === Public === | ||
+ | *[[Method procedure SLScope.TSLDisplaySelectableCollectionItem.MouseEnter()|procedure MouseEnter()]] | ||
+ | *[[Method procedure SLScope.TSLDisplaySelectableCollectionItem.MouseLeave()|procedure MouseLeave()]] | ||
+ | *[[Method procedure SLScope.TSLDisplaySelectableCollectionItem.MouseDown(TMouseButton;TShiftState;Integer;Integer;Boolean;Boolean)|procedure MouseDown(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer; MouseInside : Boolean; var MouseHandled : Boolean)]] | ||
+ | *[[Method procedure SLScope.TSLDisplaySelectableCollectionItem.MouseUp(TMouseButton;TShiftState;Integer;Integer;Boolean)|procedure MouseUp(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer; MouseInside : Boolean)]] | ||
== From [[Class SLScope.TSLDisplayCollectionItem|TSLDisplayCollectionItem]] == | == From [[Class SLScope.TSLDisplayCollectionItem|TSLDisplayCollectionItem]] == | ||
Line 86: | Line 91: | ||
=== Published === | === Published === | ||
− | |||
*[[Property SLScope.TSLDisplayCollectionItem.Tag|Tag]] - Stores an general purpose integer value as part of an item | *[[Property SLScope.TSLDisplayCollectionItem.Tag|Tag]] - Stores an general purpose integer value as part of an item | ||
+ | |||
+ | == From [[Class LPComponent.TLPNamedCollectionItem|TLPNamedCollectionItem]] == | ||
+ | |||
+ | == Properties == | ||
+ | |||
+ | === Published === | ||
+ | *[[Property LPComponent.TLPNamedCollectionItem.Name|Name]] | ||
+ | |||
+ | == From [[Class LPComponent.TLPCollectionItem|TLPCollectionItem]] == | ||
+ | |||
+ | == Methods == | ||
+ | |||
+ | === Public === | ||
+ | *[[Method function LPComponent.TLPCollectionItem.QueryInterface(TGUID;TLPCollectionItem) : HResult|function QueryInterface(IID : TGUID; Obj : TLPCollectionItem) : HResult]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 20:29, 10 June 2013
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 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.
- 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