title: How do I hide the top toolbar of a Ext.Panel? (ExtJS 2.0)
body: <p>For some reason Ext.Panel.getTopToolbar() is returning an array of objects (the elements of the toolbar, but <em>NOT</em> the toolbar itself) and not an Ext.Toolbar. Because of that, I can't manage to hide an already set toolbar. How should I proceed?</p>
  
  <p>Sample code:</p>
  
  <pre><code>function (panel)
  {
      alert(panel.getTopToolbar()); // displays the list of elements in the toolbar
      panel.getTopToolbar().hide(); // error: "hide" is not a function
  }
  </code></pre>