procedure TForm1.Button1Click(Sender: TObject);begin MessageDlg(Format('Screen Width = %d' + #13#10 + 'Screen Height = %d', [Screen.Width, Screen.Height]), mtInformation, [mbOK], 0);end;