Autor Beitrag
Susi
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 55

Win XP , Win 2000
D6,D7
BeitragVerfasst: Do 13.01.05 10:16 
Hab ein kleines Problem hab ein Programm wo ich Parameter eingebe lass es durchlaufen und dann will ich mit dem reset button die ganzen Eingebenen Werte wieder löschen doch wie spricht man da ne combobox an?Und wie ist das mit einer Radiogroup?


Moderiert von user profile iconChristian S.: Topic aus Off Topic verschoben am Do 13.01.2005 um 11:12

_________________
Don't try this at home! I'm Freaky
st-matze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 138

Win 3.11, Win 95, Win 98, Win XP
D7 Ent, D6 Pers, (D5 Pers)
BeitragVerfasst: Do 13.01.05 10:38 
ausblenden Delphi-Quelltext
1:
2:
3:
  Combobox1.ItemIndex := -1;
  ComboBox1.Text:='<Bitte wählen>';
  RadioGroup1.ItemIndex:=-1;


-1 entspricht kein item angewählt.


Zuletzt bearbeitet von st-matze am Do 13.01.05 10:41, insgesamt 1-mal bearbeitet
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Do 13.01.05 10:38 
So sollte das gehen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
Combobox1.itemindex:= initialwert_Combobox1;
RadioGroup1.itemindex:= initialwert_Radiogroup1;
//oder, die Einträge darin löschen
Combobox1.items.clear;
Radiogroup.items.clear;

_________________
We are, we were and will not be.
Susi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 55

Win XP , Win 2000
D6,D7
BeitragVerfasst: Do 13.01.05 10:40 
Sorry jungs die Überschrift war richtig aber der rest!Brauch es für ne checkbox!

_________________
Don't try this at home! I'm Freaky
st-matze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 138

Win 3.11, Win 95, Win 98, Win XP
D7 Ent, D6 Pers, (D5 Pers)
BeitragVerfasst: Do 13.01.05 10:42 
ausblenden Delphi-Quelltext
1:
  CheckBox1.Checked := false;					
Susi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 55

Win XP , Win 2000
D6,D7
BeitragVerfasst: Do 13.01.05 10:52 
Danke für eure Hilfe!Peace out

_________________
Don't try this at home! I'm Freaky