Robert, you cannot create the event runtime in BCB. You have to create the event in advance, or make temple functions. When you have created you control, assign the OnClick functionpointer to the function you have created. The problem with creating controls at runtime is that you must know before runtime what they should do. If you know that, you are lucky. Its the same with MFC. You must know in advance what pressing the button will do. Acctually, when running any w32 program, the controles are created runtime, even if you draw them on a form in BCB at designtime.

So: To get reaction from a runtime created control, you must know what it should do in advance. Create the OnClick function and assign the OnClick-event to your function.