unit FormMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls;
type
TForm1 =
class( TForm )
Button1 : TButton;
Button2: TButton;
procedure Button1Click( Sender : TObject );
procedure Button2Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1 : TForm1;
implementation
{$R *.fmx}
procedure TForm1.Button1Click( Sender : TObject );
begin
MessageDlg( '
Test', TMsgDlgType.mtError, mbOKCancel, 0 );
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
raise Exception.Create('
Test');
end;
end.