https://bugzilla.novell.com/show_bug.cgi?id=416058

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=416058#c4





--- Comment #4 from Andy Hume <[EMAIL PROTECTED]>  2008-08-29 13:44:44 MDT ---
Created an attachment (id=236383)
 --> (https://bugzilla.novell.com/attachment.cgi?id=236383)
Repro -- bug-416058_Test14_ContainerControl.cs

Attached is a modified version of Jonathan's sample that shows the problem. 
The crucial line is "ep.ContainerControl = this;".  With it the icons are
apparently then incorrectly drawn relative to the form and not to each
control's parent (the tabpage).


MSDN says for the ContainerControl property:
  Typically, this is the Form the data-bound controls reside on.

So should it be used *solely* for data-binding purposes
(ContainerControl.BindingContext etc), and be ignored completely for
painting/parenting/etc/etc?

It would explain why we've had problems with NRE bugs related to it! :-'(


-- 
Configure bugmail: https://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to