Author: jackson
Date: 2006-10-06 13:14:29 -0400 (Fri, 06 Oct 2006)
New Revision: 66365
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
Log:
* TextBoxBase.cs: Ignore whether or not the scrollbar is
* enabled,
since we use this for auto scrolling also.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-10-06 17:06:54 UTC (rev 66364)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-10-06 17:14:29 UTC (rev 66365)
@@ -1,3 +1,8 @@
+2006-10-06 Jackson Harper <[EMAIL PROTECTED]>
+
+ * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
+ since we use this for auto scrolling also.
+
2006-10-05 Chris Toshok <[EMAIL PROTECTED]>
* DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
2006-10-06 17:06:54 UTC (rev 66364)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
2006-10-06 17:14:29 UTC (rev 66365)
@@ -1727,7 +1727,7 @@
}
// Check if we moved out of view to the right
- if ((pos.X >= (document.ViewPortWidth +
document.ViewPortX)) && (hscroll.Enabled && (hscroll.Value !=
hscroll.Maximum))) {
+ if ((pos.X >= (document.ViewPortWidth +
document.ViewPortX)) && (hscroll.Value != hscroll.Maximum)) {
if ((pos.X - document.ViewPortWidth +
1) <= hscroll.Maximum) {
if (pos.X -
document.ViewPortWidth >= 0) {
hscroll.Value = pos.X -
document.ViewPortWidth + 1;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches