Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ITrendCursor​.Visible [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Get or Set whether the cursor is visible.

Defined As

  • [VBA] Boolean Visible

  • [Cicode] INT Visible

  • [C++] VARIANT_BOOL Visible

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the cursor is deleted, the return value will be GeneralFailure.

Remarks

This property controls the visibility of the cursor. The visibility is also applied to labels associated with the cursor.

Calling Syntax

This example assumes you have a valid reference to a cursor.

[VBA]

Sub Example(cursor As Object)
Dim visibility As Boolean
`Getting Property value
visibility = cursor.Visible
`Setting Property value (False)
cursor.Visible = False
End Sub

[Cicode]

FUNCTION Example(OBJECT hCursor)
INT visibility;
// Getting current property value
visibility = _ObjectGetProperty(hCursor, "Visible");
// Setting Property to False (0)
_ObjectSetProperty(hCursor, "Visible", 0);
END

See Also

ITrendCursor.PenLabelVisible [Property][Get/Set]

In This Topic
TitleResults for “How to create a CRG?”Also Available in