Código Delphi [-] procedure TForm1.ListBox1Click(Sender: TObject); begin ShowMessage(ListBox1.Items[ListBox1.ItemIndex]); end;
procedure TForm1.ListBox1Click(Sender: TObject); begin ShowMessage(ListBox1.Items[ListBox1.ItemIndex]); end;