Posted 14 years ago
by Sergio Freitas
Version: 4.0.0285
Platform: .NET 2.0
Environment: Windows Vista (32-bit)
Hi,
I'm using VB.Net Add-On + WinForm Control and I have a class with a Default Property:When use a variable of this type the intelliprompt and intellisense works fine after ( char:
But if I have a property of this type the editor don't show the intelliprompt and shows a wrong member-list:
Thanks in advance.
I'm using VB.Net Add-On + WinForm Control and I have a class with a Default Property:
Public Class ccolTest
Inherits System.Collections.CollectionBase
Public Property subcolTest As ccolTest
Default Public Overloads Property Item(ByVal index As Integer) As String
Get
Return List(index)
End Get
Set(ByVal Value As String)
List(index) = Value
End Set
End Property
End Class
Sub MySub()
Dim dpTestObj As New ccolTest
dpTestObj( '<----trigger
End Sub
Sub MySub()
Dim dpTestObj As New ccolTest
dpTestObj.subcolTest( '<---- do not trigger
dpTestObj.subcolTest(0). '<---- shows wrong member-list
End Sub