In my main form, I have buttons containing TPanels that act as toolbars. I want to clone / copy this toolbar and buttons and their functionality into a second form.
Cloning the menu was simple using newmenu.merge (mainmenu). It was a great shortcut for duplicating Tmainmenu.
But I don’t understand how easy it is to duplicate my toolbar without having to manually assign events and save a timer to compare and track the buttons that are on and off compared to the real main menu in the main form. Depending on what the application does, the buttons on the main toolbar will be turned on and off at different times.
Any ideas here? Thanks for any suggestions or tips to make this easier.
source
share