title: How to add menu items separators programmatically on Windows?
body: <p>I have a mainmenu on my Form and I want to be able to insert separator to it programmatically not during design time. I went through context popup menu for the mainmenu that lists all the available properties and did not find anything that will allow me to insert separator. Google wasn't much of a help. So, how is this done in Delphi on Windows? I am using Delphi 2010.</p>
  
  <p>I simply want to do something like the following but <code>AddSeparator</code> command doesn't exist:</p>
  
  <pre><code>MainMenu1.Items[5].AddSeparator;
  </code></pre>