H
Henry Wu
Hi, I have a MDIForm with a menu name mnuVideo that opens a childForm.
My question is a newbie question, I was wondering how can I manipulate
the mnuVideo that is in the MDIForm from the childForm? Like "enabled"
& "checked" properties.
Lastly I need to do the same manipulation of the mnuVideo from a
Module.
Code samples would be very much appreciated.
Here's what I did.
MDIForm's mnuVideo code
********************************************************************
Private Sub mnuVideo_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuVideo.Click
Dim frmVideoPreviewInstance As New frmVideoPreview
frmVideoPreviewInstance.MdiParent = Me
frmVideoPreviewInstance.Show()
End Sub
********************************************************************
Load Event of ChildForm w/c doesnt work!
********************************************************************
Private Sub frmVideoPreview_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load
Dim mdiVideoInspectionInstance As New mdiVideoInspection
mdiVideoInspectionInstance.itmVideoStream.Enabled = True
mdiVideoInspectionInstance.itmVideoStream.Checked = True
mdiVideoInspectionInstance.itmVideoActualSize.Enabled =
True
mdiVideoInspectionInstance.itmVideoActualSize.Checked =
False
End Sub
********************************************************************
I did not attempt to make the code in the Modules I have because I
can't even get the ChildForm to change the MDIForm's menu.
Sample codes for ChildForm & Module to manipulate MDIForm's menu will
really be very much appreciated!!!
Thanks,
Henry
My question is a newbie question, I was wondering how can I manipulate
the mnuVideo that is in the MDIForm from the childForm? Like "enabled"
& "checked" properties.
Lastly I need to do the same manipulation of the mnuVideo from a
Module.
Code samples would be very much appreciated.
Here's what I did.
MDIForm's mnuVideo code
********************************************************************
Private Sub mnuVideo_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuVideo.Click
Dim frmVideoPreviewInstance As New frmVideoPreview
frmVideoPreviewInstance.MdiParent = Me
frmVideoPreviewInstance.Show()
End Sub
********************************************************************
Load Event of ChildForm w/c doesnt work!
********************************************************************
Private Sub frmVideoPreview_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load
Dim mdiVideoInspectionInstance As New mdiVideoInspection
mdiVideoInspectionInstance.itmVideoStream.Enabled = True
mdiVideoInspectionInstance.itmVideoStream.Checked = True
mdiVideoInspectionInstance.itmVideoActualSize.Enabled =
True
mdiVideoInspectionInstance.itmVideoActualSize.Checked =
False
End Sub
********************************************************************
I did not attempt to make the code in the Modules I have because I
can't even get the ChildForm to change the MDIForm's menu.

Sample codes for ChildForm & Module to manipulate MDIForm's menu will
really be very much appreciated!!!
Thanks,
Henry