Ardianta_Pargo

Prosedur combobox onchange

Apr 5th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.24 KB | None | 0 0
  1. procedure TForm1.ComboBox1Change(Sender: TObject);
  2. begin
  3.   if ComboBox1.Text = 'beruang' then
  4.      Image1.Picture.LoadFromFile('gambar.png')
  5.   else if ComboBox1.Text = 'kucing' then
  6.      Image1.Picture.LoadFromFile('gambar2.png');
  7. end;
Advertisement
Add Comment
Please, Sign In to add comment