Good time of day, Delphi guru and not only. The case here is this:
procedure tform1.onbclick(Sender: TObject);
Creating during execution of the program a bunch of Button s in an array, and assign them to this procedure as the OnClick event
Everything is working except the parameter Sender. As it is necessary correctly to specify in this case? Or how to get around that?
Everything works. Mixed up in procedure onbclick values for name and caption. and it is name for the dynamic creation I did not specify, so his request was empty and I thought that nothing works.