title: PowerBuilder change menu on runtime
body: <p>Can you change a MDI window's menu at runtime? </p>
  
  <p>I tried <code>Changemenu()</code> function but I failed in registering the menu itself. 
  When I debug, <code>menu</code> shows it's null.</p>
  
  <pre><code>menu m_menu
  m_menu = m_base_menu
  // where m_base_menu is the menu object
  this.changemenu(m_menu)
  </code></pre>
  
  <p><code>m_menu</code> is NULL on the line..</p>
  
  <p>I also tried instantiating it </p>
  
  <pre><code>m_menu = create menu
  </code></pre>
  
  <p>still to no avail. Any hints?</p>