[Mono-list] Am I missing something with ContextMenuStrips and ToolStrips?

Miguel de Icaza miguel at ximian.com
Tue Dec 26 14:35:11 EST 2006


Hello,

> 
>    I've seen a few posts here and there about mono and MenuStrips,
> ToolStrips and ToolStripMenuItems but when I compile the latest mono I
> get runtime errors about missing methods like
> "System.Windows.Forms.Form.set_MainMenuStrip()".   Is it the case that
> MenuStrips are implemented but the methods that hook them up to Forms
> is not?  Or am I missing something about how to run my application to
> use the newest libs?  The debug output does indicate to me that the
> SWF 2.0 dll is the one reporting the error, not the 1.x version.  Any
> ideas?

You must compile with "gmcs" instead of "mcs" to get access to 2.0 APIs.

But the whole Windows.Forms 2.0 stack is under heavy development, we
make no promises that anything will work.


More information about the Mono-list mailing list