[Mono-bugs] [Bug 500213] New: Setting ScrollableControl.HScroll property when AutoScroll is true displays different behavior to .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 1 17:00:29 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=500213


           Summary: Setting ScrollableControl.HScroll property when
                    AutoScroll is true displays different behavior to .NET
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tom_hindle at sil.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=289521)
 --> (http://bugzilla.novell.com/attachment.cgi?id=289521)
Test case showing setting HScroll property, when AutoScroll is true, behaviour
difference.

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009042513 Ubuntu/8.04 (hardy) Firefox/3.0.10


>From msdn:
<quote>
AutoScroll maintains the visibility of the scrollbars automatically. Therefore,
setting the HScroll or VScroll properties to true have no effect when
AutoScroll is enabled. 
</quote>

On mono.
this.AutoScroll = true;
this.HScroll = true;
Shows the Horizontal scrollbar.



Reproducible: Always

Steps to Reproduce:
1. compile and run attached test case
2.
3.
Actual Results:  
Horizontal scroll bar appears below empty text box.

Expected Results:  
Empty text box should appear. No scroll bar should appear.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list