Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

My application uses a MDI Parent form to display 8 other forms. I have a boolean flag in place so that only one instance of each form can ever be open at a time. If form A is opened first then B, C and D are opened then currently the user needs to select form A from the Window menu to bring it back on top of C and D. Clicking it's button results in no action as the flag says it is already open.

 

Is there a way to link the Windows menu event to the forms open button so that if like above A, B, C and D are open and A is behind B, C and D then by clicking the button A will be brought to the top?

 

I tried TopMost but that dd not work?

 

Thx

My website

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...