Už to mám.VybraneJmeno:= ListBox1.Items[ListBox1.Itemindex];Cpal jsem to do kulatých závorek a to mi nebralo.