How to add an OnClick event to TCustomControl?

How to create an OnClick event? I need help with TCustomControl.

+6
source share
1 answer

The OnClick event OnClick already defined in TCustomControl . All you have to do is make it visible. Add line

 published property OnClick; 

to your control, and you're done!

+17
source

Source: https://habr.com/ru/post/886982/


All Articles