www.pcbilgideposu.tr.gg
  Örnek6
 

6- Girilen sayıları showmessage fonksiyonu ile kullanıcıya bildiren ve showmessagepos fonksiyonu ile istenilen yerde yazan program.

procedure TForm1.Button1Click(Sender: TObject);

begin

a:=StrToInt(Edit1.Text);

b:=StrToInt(Edit2.Text);

ShowMessage('a='+IntToStr(a)+';'+'b='+inttostr(b));

end;

 

procedure TForm1.Button2Click(Sender: TObject);

begin

a:=StrToInt(Edit1.Text);

b:=StrToInt(Edit2.Text);

ShowMessagePos('a='+IntToStr(a)+';'+'b='+inttostr(b),45,100);

 

end;

end.
 
  Copright © 2009 by pcbilgideposu webtasarım tüm hakları saklıdır.  
 
Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol