Hi any idea how to add event to the constructed button in the run time? I understand how to build component in the run time, but adding event is another thing. Got any example to explain how it works?
Thanks
Hi any idea how to add event to the constructed button in the run time? I understand how to build component in the run time, but adding event is another thing. Got any example to explain how it works?
Thanks
A VCL event is just a pointer to a class method for a particular object. You can assign that pointer directly, eg: