This question already has an answer here:
How can I assign the OnClick event of a ToolButton at runtime?
I’m new to Delphi and to Firemonkey.
Lets say I create a new button on my form dynamically (at run time) and that I want to catch its OnCLick event.
How do I tie my control to the onclick procedure?