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

Tri_Nguyen at Dell.com Tri_Nguyen at Dell.com
Tue Sep 18 14:34:36 EDT 2007


Hi Gaita,
  Thanks for you respond.  I had already subscribe to it, yesterday.  I
am running with 1.2.5.  My problem is very straight forward, from a main
windows form, you just simply open up another form.  With two forms
open, I only have control of the second form only.  In order for me to
have the control back to the main windows, I have to close this form.

I have no problem when running this code in native Windows.

Thanks.



-----Original Message-----
From: Andreia Gaita [mailto:shana.ufie at gmail.com] 
Sent: Tuesday, September 18, 2007 9:20 AM
To: Nguyen, Tri
Cc: mono-list at lists.ximian.com
Subject: Re: [MonoDevelop] Moving Focus Between Form

On 9/14/07, Tri_Nguyen at dell.com <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:

The best place would be either the mono list or the mono-winforms list
(if it's a winforms problem you're having). I've cc'd the mono-list
for you, please subscribe to it if haven't done so already.

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

What version of mono are you running? The latest stable one is 1.2.5,
so you might be stumbling onto a problem that's already been fixed, if
you're running an older version. Also, a small test to replicate your
problem would be helpful.

andreia gaita


More information about the Mono-list mailing list