title: Delphi - Duplicate tpanel and tbuttons on second form
body: <p>On my main form I have a TPanel containing buttons that act as a toolbar.  I want to clone/copy this toolbar and the buttons and their functionality to a second form.</p>
  
  <p>Cloning the menu was simple using newmenu.merge(mainmenu).  That was an excellent shortcut to duplicating a Tmainmenu.</p>
  
  <p>But I am at a loss on how to easily duplicate my toolbar without having to manually assign the events and keep a timer to compare and track which buttons are enabled and disabled in comparison to the real mainmenu on the main form.  Depending on what the application is doing the main toolbar buttons will be enabled and disabled at various times.</p>
  
  <p>Any ideas here?  Thanks for any suggestions or tips to make this easier.</p>