! CODEBANK 2012 !
İNDİRMEK&DETAYLI BİLGİ ALMAK İÇİN BURAYI TIKLAYINIZ.
ÖNEMLİ AÇIKLAMA: MUTLAKA OKUYUNUZ!
0 Üye ve 1 Ziyaretçi konuyu incelemekte.
procedure TForm1.ComboBox1Change(Sender: TObject);var combo:TComboBox;begin if Sender is TComboBox then begin combo:=TComboBox(Sender); if SameText(combo.Name,'ComboBox1') then ShowMessage('ComboBox1 seçildi') else if SameText(combo.Name,'ComboBox2') then ShowMessage('ComboBox2 seçildi'); else .... end;end;
Kod: [Seç]procedure TForm1.ComboBox1Change(Sender: TObject);var combo:TComboBox;begin if Sender is TComboBox then begin combo:=TComboBox(Sender); if SameText(combo.Name,'ComboBox1') then ShowMessage('ComboBox1 seçildi') else if SameText(combo.Name,'ComboBox2') then ShowMessage('ComboBox2 seçildi'); else .... end;end;