title: Accordion Menu with Delphi FMX
body: <p>Could anybody help with some insights to creating an accordion menu with Delphi FMX?</p>
  <p>I have to create a menu for a cross platform app, and the menu is huge. It has some categories, and then under each category there will be options. Sometimes options may also be categories. Hence the menu also needs scrolling.</p>
  <p>For example:</p>
  <pre class="lang-none prettyprint-override"><code>Control  ==&gt; Main Category 1
    Database
    Shut down
  Settings ==&gt; Main Category 2
    Stock
      Items
      Purchase orders
  Reports ==&gt; Main Category 3
    Daily reports
      Sales
      Cancellation
   and so on
  </code></pre>