delphi - How do I add an OnClick event to TCustomControl? -


how create onclick event? need tcustomcontrol.

the onclick event defined in tcustomcontrol already. have make visible. add line

published   property onclick; 

to control , you're done!


Comments