Dear sir/madam,
In the parent MDI I do File/New and a MDI child opens up.
In the class of this MDI child I have made a property like this:
Property ModuleNumber() As Integer
Get
Return Me.modulenr
End Get
Set(ByVal Value As Integer)
Me.modulenr = Value
End Set
End Property
I am able to save a value in this property, but I am not able to get it out.
I want to get the value of the property Modulenumber of the active MDI child. How do I get this?
When I do this:
a = Me.ActiveForm.Modulenumber.value
Then it complains with the following message:
ModuleNumber is not a mmeber of 'System.windows.forms.form'
Can anyone help me with this on how to gt the value of the preorpty of the active child?
Thanks you in advance.
Jelle
In the parent MDI I do File/New and a MDI child opens up.
In the class of this MDI child I have made a property like this:
Property ModuleNumber() As Integer
Get
Return Me.modulenr
End Get
Set(ByVal Value As Integer)
Me.modulenr = Value
End Set
End Property
I am able to save a value in this property, but I am not able to get it out.
I want to get the value of the property Modulenumber of the active MDI child. How do I get this?
When I do this:
a = Me.ActiveForm.Modulenumber.value
Then it complains with the following message:
ModuleNumber is not a mmeber of 'System.windows.forms.form'
Can anyone help me with this on how to gt the value of the preorpty of the active child?
Thanks you in advance.
Jelle