Event Handler for Dynamically Created CheckBox
问题 I wrote a C++ program using Borland C++ Builder 5. The program dynamically creates an array of TCheckBox objects. I have tried to write an OnClick event handler that would identify which checkbox is being clicked and execute some instructions based on that. My event handler is based on similar posts to this website, but I cannot seem to make it work. Here is the (abbreviated) code // Header declaration void __fastcall CBoxClick(TObject *Sender); // End Header // CBoxClick function (the event