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

AVEVA™ Plant SCADA

IPen​.Select [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Makes this pen the primary selected pen.

Defined As

  • [VBA] Select()

  • [Cicode] Select()

  • [C++] HRESULT Select()

Execution Result

If the function succeeds, the return value will be Success. If the pen is deleted, the return value will be GeneralFailure.

Remarks

Calling this method will also trigger PenSelectionChanged [Event].

Calling Syntax

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

[VBA]

Sub Example(pen As Object)
pen.Select
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
_ObjectCallMethod(hPen, "Select");
END

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