H
Harry Strybos
Hi Guys
Am I just dumb or is there some new way to get a form property? eg
In frmClient I have:
Private _ClientID As Integer
Public Property ClientID() As Integer
Get
Return _ClientID
End Get
Set (ByVal Value As Integer)
_ClientID = Value
End Set
End Property
In frmMain I do something like this:
Dim frm As Form = New frmClient
With frm
.ShowDiaglogue()
'PROBLEM frm does not expose its property ClientID
If .ClientID > 0 Then 'error here
'do something
End if
End With
What am I doing wrong????? Thanx
Am I just dumb or is there some new way to get a form property? eg
In frmClient I have:
Private _ClientID As Integer
Public Property ClientID() As Integer
Get
Return _ClientID
End Get
Set (ByVal Value As Integer)
_ClientID = Value
End Set
End Property
In frmMain I do something like this:
Dim frm As Form = New frmClient
With frm
.ShowDiaglogue()
'PROBLEM frm does not expose its property ClientID
If .ClientID > 0 Then 'error here
'do something
End if
End With
What am I doing wrong????? Thanx