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

AVEVA™ Plant SCADA

IPen​.HorizontalAxisScroll [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or sets whether this pen allows the operator to interactively scroll the horizontal axis using the mouse.

Defined As

  • [VBA] Boolean HorizontalAxisScroll

  • [Cicode] INT HorizontalAxisScroll

  • [C++] VARIANT_BOOL HorizontalAxisScroll

Execution Result

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

Limits

  • True (-1): Axis can be scrolled

  • False (0): Axis cannot be scrolled

Calling Syntax

Assumes you have passed a valid pen object into the function.

[VBA]

Sub Example(pen As Object)
Dim scroll As Boolean
`Getting Property value
scroll = pen.HorizontalAxisScroll
`Setting Property value
pen.HorizontalAxisScroll = False
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT bScroll;
// Getting current property value
bScroll = _ObjectGetProperty(hPen, "HorizontalAxisScroll");
// Setting Property
_ObjectSetProperty(hPen, "HorizontalAxisScroll", 0);
END

See Also

IPen.VerticalAxisScroll [Property][Get/Set]

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