ShowDialog() can loose focus when MDIContainer is present

luisrl <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
This is happening in Ubuntu 10.04 + Mono 2.8

I have a MDIContainer. I open a form with the next code:

Form1 f = new Form1();
f.MdiParent = this;
f.Show();

The form has a TextBox and a Button. When I click the button, it shows a
dialog form:

DialogForm x = new DialogForm();
x.ShowDialog();

I can click the TextBox in the form behind the Dialog and the Dialog looses
the focus.

I'm trying to figure a way to avoid this.

Thanks for any help.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/ShowDialog-can-loose-focus-when-MDIContainer-is-present-tp3022282p3022282.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.