I have multiple components on my Form (all of the same type, dynamically created in this case) using the same OnClick event handler.
Stepping through the code, the event handler fires OK. Within the event handler function, I need to determine which one of the components triggered it. Is there any way to do this? I know that the function is called with a parameter of TObject* Sender, but ‘Inspect’ing this doesn’t seem to give any useful info.
(I should also point out that I'm a self-taught hobbyist programmer, so please bear with me if I ask any noob questions)