procedure TForm1.ListBox1Click(Sender: TObject); begin if ListBox1.Items.Count <> 0 then Edit1.Text := ListBox1.Items.Strings[ListBox1.ItemIndex]; end;
procedure TForm1.ListBox1Click(Sender: TObject); begin if ListBox1.Items.Count <> 0 then Edit1.Text := ListBox1.Items.Strings[ListBox1.ItemIndex]; end;
begin
if ListBox1.Items.Count <> 0 then
Edit1.Text := ListBox1.Items.Strings[ListBox1.ItemIndex];
end;
begin
if ListBox1.Items.Count <> 0 then
Edit1.Text := ListBox1.Items.Strings[ListBox1.ItemIndex];
end;