unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs; type TForm1 = class(TForm) ButtonedEdit1: TButtonedEdit; ButtonedEdit2: TButtonedEdit; SpeedButton1: TSpeedButton; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin a:=StrtoInt(Edit1.Text); b:=StrtoInt(Edit2.Text); if a=b then Label1.Caption:='sayılar eşit' Else begin if a>b then Label1.Caption:='soldaki sayı sağdakinden büyüktür' else Label1.Caption:='soldaki sayı sağdakinden küçüktür' end; end; end.