procedure TForm1.Button1Click(Sender: TObject); begin Label1.Caption := 'Tag кнопки = ' + IntToStr(TButton(Sender).Tag); end;