[Mono-winforms-list] [MonoDevelop] Moving Focus Between Form

Valentin Sawadski valentin.sawadski at gmx.de
Wed Sep 19 11:33:54 EDT 2007


On Fri, 2007-09-14 at 12:41 -0500, Tri_Nguyen at Dell.com wrote:
> Hi I am new to Mono, and I not sure this is a right place to ask this
> question:
> 1.       I am trying to port a C# Windows app to Mono running on SLES
> 10.1.  The app starts with one form, and base on user input , it can
> launch other forms.  When this happens, the new form gets focus, and I
> can click on the previous form (parent?), and get focus.  On mono, the
> app behaves differently:  I cannot get focus back to the previous,
> unless I close the new form.
> Any help on this matter would be appreciated.

As far as I know there's no bug in Form.Show, so my guess is that you
call Form.Show on Windows and changed it to Form.ShowDialog while
porting to Linux which would explain the behavior you mentioned.

However I you are sure that this is not the cause for the behavior, then
please file a bug with a repro at http://bugzilla.novell.com.

Kind Regards,
Valentin S.

P.S. I cc'ed this message to the winforms list, so that more people
concerned with WinForm will notice to this issue.

More information about the Mono-winforms-list mailing list