Dealing multiple modal windows

  • Thread starter Thread starter Bruno Rodrigues
  • Start date Start date
B

Bruno Rodrigues

Hi,

My application's initial form is a toolbar in the office style. This bar
must be accessible always, while my application is running, of course. My
problem appears when I open a modal window (ShowDialog), and not only the
caller window is blocked, but all windows of my application, including the
initial form toolbar. Suggestions?

Thanks
Bruno Rodrigues
 
My application's initial form is a toolbar in the office style. This
bar
must be accessible always, while my application is running, of course. My
problem appears when I open a modal window (ShowDialog), and not only the
caller window is blocked, but all windows of my application, including the
initial form toolbar. Suggestions?

Add the bar as an owned (modeless) window and call Show instead of
ShowDialog:

// Inside MyForm

AddOwnedForm( myToolPanel );
myToolPanel.Show();

n!
 
I can't find this method: AddOwnedForm
And I will not show the toolbar after the ofter windows. The first form is
the toolbar.

Thanks
 
Got it.

I was in a user control =)

Thanks!

Bruno Rodrigues said:
I can't find this method: AddOwnedForm
And I will not show the toolbar after the ofter windows. The first form is
the toolbar.

Thanks
 
Back
Top