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

AVEVA™ Plant SCADA

IPane​.Delete [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Removes this Pane from the collection and the display.

Defined As

  • [VBA] Delete()

  • [Cicode] Delete()

  • [C++] HRESULT Delete()

Execution Result

If the method succeeds, the return value will be Success. If the pane is already deleted, the return value will be GeneralFailure.

Remarks

Any pen associated with the pane will also be deleted.

Calling Syntax

This example assumes there is a valid Pane object to be passed into the example methods.

[VBA]

Sub Panes(Pane As Object)
Pane.Delete()
End Sub

[Cicode]

FUNCTION Example(OBJECT hPane)
_ObjectCallMethod(hPane, "Delete");
END

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