Hi,

I am developing an application for MAC OS. I want to load a form in a panel.
Typical code that I write is something like below.

            Form1 form = new Form1();

            form.TopLevel = false;
            form.FormBorderStyle = FormBorderStyle.None;
            form.Dock = DockStyle.Fill;

            panel1.Controls.Add(form);
            panel1.AutoScroll = true;            
            panel1.BringToFront();

            form.Show();
            
This code does load the form in panel, but on MAC, the controls on the form
just go haywire %-|! I mean, out of the total textboxes and the buttons that
I have on the form, only few are visible. Also, if there are some controls
below the form, few of those are visible.

Is there any other way of achieving this functionality using mono?

Regards,
Rupesh.  
-- 
View this message in context: 
http://www.nabble.com/Trying-to-load-a-form-in-panel-tp22678619p22678619.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to