I need to change the child screen Active status from another child screen.
Posted on 2009-05-04
When criteria is met on one child screen, I need to Activate() another child screen (bring it to the top).
When I declare them from my parent, it is as follows:
Dim f1 As ResultViewerForm
Dim f2 As ResultViewerRPForm
Dim f3 As IndyResultViewerForm
Now, if I want to make f3 Active, from the Parent form, I would simply do this
Private Sub ActivateF3ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ActivateF3ToolStripMenuItem.Click
Public Sub ActivateIndyResultViewerForm()
However, if I call the ActivateIndyResultViewerForm sub from a child form, it steps through the code in the sub (specifically f3.Activate()), but it won't actually bring the said child form to the front.
Is there another way to do it?
Thanks in advance!