[Mono-bugs] [Bug 515045] TabControl / TabPage doesn't look right (+ VisualStyles not applied)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 23 13:27:11 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=515045

User stifu at free.fr added comment
http://bugzilla.novell.com/show_bug.cgi?id=515045#c3





--- Comment #3 from Thomas Goldstein <stifu at free.fr>  2009-06-23 11:27:10 MDT ---
In my quest to get rid of the focus rectangle on the active tab in my own
application, I made a little discovery (I haven't seen any site mention this
tip, I just stumbled on it by mistake)...

If you add a Label or a Button (some other Controls may work) on a tab, once
you've been on this tab, the focus rectangle will not show anymore on the
TabControl. This is weird, and looks like a bug to me (especially since the
Button or Label is not focused automatically, so it's not like it steals the
focus from the TabControl / TabPage).

So I guess showing the focus rectangle on focused tabs in Mono is a low
priority, or maybe not even wanted because it'd then require mimicking .NET's
quirky behavior (or we'd show the rectangle all the time, while .NET does not).
Unless the behavior of .NET makes sense and I'm missing something.

This is with Windows XP, by the way (confirmed on two computers), I'll have to
check Vista / 7.

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list