Example: property method
This method is applicable to .NET controls with the Items property, such as ComboBox and ListBox.
This example uses Button1 to call the
Add
method of the .NET combo box's Items
property, which adds a new item, item1
to the combo box.Private Sub Button1_Released()
DotNetControl1.InvokePropertyMethod "Items", "Add", "item1"
End Sub
Provide Feedback