How can i determine who called the Showme Procedure?
procedure Showme(str:string);
begin
ShowMessage(str);
end;
procedure btnclick(sender:TObject);
begin
Showme("test");
end;
procedure btn2click(sender:TObject);
begin
Showme("test");
end;
Edit : The Confusion
Showme(654, '654'); // procedure name, string
Showme(654, '564');