[Mono-bugs] [Bug 437683] New: ToolStripButton and ToolStripSplitButton issues

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 22 07:04:03 EDT 2008


           Summary: ToolStripButton and ToolStripSplitButton issues
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: awunwpa7 at yahoo.com.ph
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer

The following is about the buttons in the ToolStrip control:

I don't know why MS has made a "Click" and a "ButtonClick" event for the
ToolStripButton class, but the MS Designer I use always sets up a handler for
the ButtonClick event. MONO seems to ignore this event and only regeards the
Click event, so in MONO none of my buttons works. In dotNet I think both events
are executed, so it does not matter which one you use.

And there is also a problem with the ToolStripSplitButton class. Firstly the
same as above, since there is also a ButtonClick event, that is used by the MS
Designer and ignored by MONO.

Secondly those (ToolStripSplitButton) buttons have some sort of context menu,
that drops down when you click on them. Works with MS, but nothing drops down
in MONO. The MS Designer made the following code for that:

System.Windows.Forms.ToolStripItem[] { toolStripMenuItem1} );

The setup of toolStripMenuItem1 is nothing special and I expect it to work on
MONO, as soon as it drops down.

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