Einzelnen Beitrag anzeigen

nahpets
(Gast)

n/a Beiträge
 
#2

AW: DBComboBox während der Laufzeit befüllen

  Alt 13. Sep 2017, 14:17
Mit DBComboBox1.Items.Add('Die andere Antwort'); ?

Add fügt halt jedesmal was hinzu, ggfls. musst Du vorher prüfen, ob das gewünschte schon enthalten ist oder (bei einem Fragebogen wohl sinnvoller)
Delphi-Quellcode:
DBComboBox1.Items.Clear;
DBComboBox1.Items.Add('1. Antwort');
DBComboBox1.Items.Add('2. Antwort');
DBComboBox1.Items.Add('...');
  Mit Zitat antworten Zitat