arnyinc
11-30-2006, 03:19 PM
This should be a fairly basic request but it's had me stumped for a while now. I have a startup form with a couple menus. I select an option from a menu and want another form to come up. This worked fine until I added some text to the startup form. Now this text shows up on top of other forms. When I select a new form, I want it to be on top of my startup form.
This is my code to popup the new form:
Private Sub sdvinfo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sdvinfo.Click
Cursor.Current = Cursors.WaitCursor
Dim fsdvinfo as sdvinfo_form = New sdvinfo_form
fsdvinfo.Parent = Me
End Sub
The form is created, but most of it is hidden by the text from my startup form.
This is my code to popup the new form:
Private Sub sdvinfo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sdvinfo.Click
Cursor.Current = Cursors.WaitCursor
Dim fsdvinfo as sdvinfo_form = New sdvinfo_form
fsdvinfo.Parent = Me
End Sub
The form is created, but most of it is hidden by the text from my startup form.