[Mono-list] Windows Forms AutoScroll - no scrollbars.
Stifu
stifu at free.fr
Wed Oct 26 08:26:15 EDT 2011
Hi,
First, it would help to figure out if this bug affects all OSes or not. I
suspect it is Mac-specific, because I got AutoScroll to work on Windows and
Linux.
Could you try it on Mono Windows or Linux to confirm that it works?
Edmund Kapusniak wrote:
>
> Hi everyone,
>
> I hope this is the correct place to ask my question.
>
> I have this simple test program:
>
> using System;
> using System.Drawing;
> using System.Windows.Forms;
>
> static class Example
> {
> public static int Main( string[] arguments )
> {
> Form form = new Form();
> Button button = new Button();
> button.Location = new Point( 0, 0 );
> button.Size = new Size( 1000, 1000 );
> button.Anchor = AnchorStyles.Left | AnchorStyles.Top;
> button.Dock = DockStyle.None;
> form.Controls.Add( button );
> form.AutoScroll = true;
> Application.Run( form );
> return 0;
> }
> }
>
> On Windows using Microsoft .NET the program displays a form with
> scrollbars, and you can scroll around causing the very large button to
> change position.
>
> Using Mono 2.10.6 on OSX, there are no scrollbars at all. When you
> resize the form you can see a white flicker as if something is trying to
> be drawn where the scrollbars should be, but nothing appears and you
> cannot interact with anything.
>
> Is there something I am missing or is this a bug in Mono? Any help is
> appreciated!
>
> -- Edmund
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at .ximian
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
View this message in context: http://mono.1490590.n4.nabble.com/Windows-Forms-AutoScroll-no-scrollbars-tp3940210p3940433.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list