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

AVEVA™ Plant SCADA

IToolbarButtons​.Count [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the number of Buttons in this collection.

Defined As

  • [VBA] Long Count

  • [Cicode] INT Count

  • [C++] int Count

Calling Syntax

This example assumes there is a valid ToolbarButtons collection as retrieved from an ObjectView. (for example, VBA: objectView.Toolbars.Item(1).Buttons).

[VBA]

Sub Example(Buttons As Object)
Dim count As Long
`Getting Property value
count = Buttons.Count
End Sub

[Cicode]

FUNCTION Example(OBJECT hButtons)
// Getting property value
INT nCount = _ObjectGetProperty(hButtons, "Count");
END

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