[Mono-bugs] [Bug 76993][Min] New - Location for texboxes instanciated at runtime are incorrect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 14 01:48:11 EST 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 bruno.juste at scarlet.be.

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

--- shadow/76993	2005-12-14 01:48:10.000000000 -0500
+++ shadow/76993.tmp.17188	2005-12-14 01:48:10.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 76993
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Ubuntu 5.10, also on Windows XP
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: bruno.juste at scarlet.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Location for texboxes instanciated at runtime are incorrect
+
+Description of Problem:
+
+When a textbox control is added at runtime to a parent panel,
+it is not located accordingly to its Location property.
+
+Steps to reproduce the problem:
+1. Create a panel and a button adding a textbox to the panel,
+with the textboxes organized as a column.
+2. When pressing the button, instanciate the textbox,
+set its location to ( 40, i*23 + 20), add the textbox control
+to the panel, where i is a counter for the number of textboxes.
+
+Actual Results:
+
+The textbox is located at (0,0) in the panel.
+
+Expected Results:
+
+Textbox should be at its specified location. 
+In the "Initialize component", the controls' properties are
+set, then the control is added to the parent.
+
+How often does this happen? 
+Every time with the textboxes. Doesn't happen with buttons.
+
+Additional Information:
+
+If the control is added then the property is set, 
+the bug doesn't happen.


More information about the mono-bugs mailing list