[Mono-bugs] [Bug 438772] New: Impossible to build dynamic munu in ToolStripDropDownItem .OnDropDownOpening
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 24 11:02:51 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=438772
Summary: Impossible to build dynamic munu in
ToolStripDropDownItem.OnDropDownOpening
Product: Mono: Class Libraries
Version: 2.0
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: aypetrov at yandex.ru
QAContact: mono-bugs at lists.ximian.com
Found By: DeveloperNet
ToolStripDropDownItem.OnDropDownOpening is called not in time.
File:
mcs\class\Managed.Windows.Forms\System.Windows.Forms\ToolStripDropDownItem.cs
Class: ToolStripDropDownItem
Method: ShowDropDown
HasDropDownItems check must not be performed before OnDropDownOpening to allow
dynamic menu building inside of OnDropDownOpening as it possible in dotNet.
If a menu is initially empty (DropDown.Items.Count == 0) then OnDropDownOpening
won't be called on Mono. It is wrong.
So currently I have to add dummy item as workaround.
--
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.
More information about the mono-bugs
mailing list