[Mono-bugs] [Bug 76339][Nor] New - Adding ScrollBars to TextBox causes a System.NullReferenceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 5 14:21:43 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by xenomorph2 at onlinehome.de.

http://bugzilla.ximian.com/show_bug.cgi?id=76339

--- shadow/76339	2005-10-05 14:21:43.000000000 -0400
+++ shadow/76339.tmp.3860	2005-10-05 14:21:43.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 76339
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Adding ScrollBars to TextBox causes a System.NullReferenceException
+
+Adding ScrollBars to a TextBox causes a System.NullReferenceException.
+
+For example textBox.ScrollBars = ScrollBars.Both;
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in [0x00002] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBox.cs:111)
+System.Windows.Forms.TextBox:set_ScrollBars (ScrollBars value) in (wrapper
+remoting-invoke-with-check) System.Windows.Forms.TextBox:set_ScrollBars
+(System.Windows.Forms.ScrollBars)


More information about the mono-bugs mailing list