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

AVEVA™ Plant SCADA

IObjectViewColumns​.Hide [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Makes the specified column hidden within the Object View.

Defined As

  • [VBA] Hide(columnName As String)

  • [Cicode] Hide(STRING columnName)

  • [C++] HRESULT Hide(BSTR columnName)

Parameters

columnName

[in] The string ID uniquely identifying the column you want to hide

Execution Result

If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the field cannot be set, GeneralFailure is returned.

Calling Syntax

This example assumes there is a columns Collection from an ObjectView. (for example, VBA: objectView.Columns).

[VBA]

Sub Example(columns As Object)
columns.Hide "Error"
End Sub

[Cicode]

FUNCTION Example(OBJECT hColumns)
_ObjectCallMethod(hColumns, "Hide", "Error");
END

See Also

IObjectViewColumns.Show [Method]

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