How to catch events of a dynamicaly created control? [duplicate]


This question already has an answer here:

How can I assign the OnClick event of a ToolButton at runtime?

1 answer

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?


Comments are closed.