[Mono-bugs] [Bug 373890] Setting SelectedTab does not trigger Selected event in some situations

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 26 09:32:58 EDT 2008


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

User johnm at hlaustralia.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=373890#c4





--- Comment #4 from John Mortlock <johnm at hlaustralia.com.au>  2008-09-26 07:32:58 MDT ---
Created an attachment (id=241958)
 --> (https://bugzilla.novell.com/attachment.cgi?id=241958)
Proposed Fix

Attached is a proposed fix for this and a few other selection problems i found.
The following are the scenarios in which I tested (all against MS .NET 2.0)

Application is Not Run as per the original problem
1. Setting selectedTab to a valid record should generate all events.
2. Setting selectedIndex to an invalid record should also generate all events 

When Application is Set to Run
1. Setting selectedTab to a valid record should generate all events. And when
the form is displayed show that tab.
2. Setting selectedIndex to an invalid record should also generate all events
and select the first tab record on startup.

RunTime.
Changing to an Invalid Tab should generate all events, but not change
selection.

I also checked the event information is the same for each of these scenarios, i
really should write up some nunit test cases for all this!


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list