Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
As Machaira says, you can only have one active window. If you mean how can you stop those windows disappearing behind the main window, like the Visual Studio Find and Replace dialogue, you need to make them modeless dialogues by using code like this:
Dim myDialogue As New Form

Me.AddOwnedForm(myDialogue) 'or myDialogue.Owner = Me
myDialogue.Show()

If you do this, whenever the main window is active the dialogue will still be in front of it, even if it's not active itself.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...