[Mono-bugs] [Bug 77458][Cos] Changed - When a button is assigned as a forms accept button, it should draw with a heavy border.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 3 08:00:00 EST 2006


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=77458

--- shadow/77458	2006-02-02 23:36:13.000000000 -0500
+++ shadow/77458.tmp.32237	2006-02-03 08:00:00.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77458
 Product: Mono: Class Libraries
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: XP SP2
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Cosmetic
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: don at edvalson.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -34,6 +34,20 @@
 
 
 How often does this happen? always
 
 
 Additional Information:
+
+------- Additional Comments From xenomorph2 at onlinehome.de  2006-02-03 07:59 -------
+This is related to themes and one theme, ThemeClearlooks, supports that.
+
+It draws a black border around the accept button:
+
+bool paint_acceptbutton_black_border = false;
+Form form = button.TopLevelControl as Form;
+			
+if (form != null && (form.AcceptButton == button as IButtonControl))
+		paint_acceptbutton_black_border = true;
+
+Shouldn't be to hard to add to ThemeWin32Classic
+


More information about the mono-bugs mailing list