I am trying to read the information that comes back from the sender object. I have 64 buttons and am simply running one procedure for all 64 buttons and need to get the number that's associated with the button being pressed (see example). Sounds simple enough but I must be missing something. Thanks for any help that you can give.
procedure TfrmTest.AutoAuthorize;
begin
if Sender = frmTest.Button1 then AutoAuth('01');
end;
I just want to read the button (1) portion to pass that parameter along to autoauth procedure. Hopefully I explained this.