Autor Beitrag
MrFreeze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Di 11.09.07 11:45 
Ich möchte gerne
eine X Eintrag in meiner CheckListBox makieren

Dachte es würde so gehen CheckListBox__1.Selected[1] := true;

Aber erhalte immer " Der Index der Liste überschreitet das Maximum (1)"

Die Liste enthält genug einträge ;-(

wo ist mein Denkfehler?
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 11.09.07 11:52 
Die korrekte Eigenschaft wäre Checked. ;-)
MrFreeze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Di 11.09.07 11:54 
ja aber Checked ist er schon ich möchte ihn makieren!
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Di 11.09.07 11:56 
ausblenden Delphi-Quelltext
1:
CheckListBox__1.Selected[1] := true;					

Der Code ist in Ordnung, dann musst Du noch woanders einen Fehler haben.

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
MrFreeze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Di 11.09.07 11:59 
hmm mehr steht in der PAS nicht ;-(

habe sogar extra nen neues frisches Projekt begonnen

Nur nen Button die Form und die CheckListBox

paar einträge rein aber die selbe Fehlermeldung



Nutzte Delphi 5