On 12/1/06, <b class="gmail_sendername">William Reade</b> <<a href="mailto:william@resolversystems.com">william@resolversystems.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Patrick<br><br>I haven't been able to see the anomalies you mention -- perhaps the<br>following sample will help.<br>---------------------------<br>import clr<br>clr.AddReference("System.Windows.Forms")<br><br>
from System.Windows.Forms import (<br> Application, DockStyle, Form, Keys, MenuStrip, ToolStripMenuItem,<br>ToolStripSeparator<br>)<br></blockquote></div><br>Thanks, William - that example helped a lot. It looks like the anomalies are due to my using entirely different classes to build my menu. I got the basic menu code from this article:
<br><br><a href="http://www.devsource.com/article2/0,1895,1989493,00.asp">http://www.devsource.com/article2/0,1895,1989493,00.asp</a><br><br>It uses MainMenu instead of MenuStrip, MenuItem instead of ToolStripMenuItem, etc. So I guess there is more than one way to construct a menu and I better look a bit more carefully at what I'm using to get the job done. :-)
<br><br>Thanks again.<br clear="all"><br>-- <br>Patrick K. O'Brien<br>Orbtech <a href="http://www.orbtech.com">http://www.orbtech.com</a><br>Schevo <a href="http://www.schevo.org">http://www.schevo.org</a><br>
Louie <a href="http://www.pylouie.org">http://www.pylouie.org</a>