Autor Beitrag
noctua
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 170



BeitragVerfasst: Mi 12.01.05 23:50 
also ich habe jetzt meine checklistbox und möchte nun herausfinden was augewählt ist

ich überprüfe jetzt ob das erste feld ausgewäglt ist
ausblenden Delphi-Quelltext
1:
2:
  if checklistbox1.Checked[0] then
    showmessage('name');

aber jetzt würde ich auch gerne wisses was das für ein feld ist, b.z.w was da steht was er ausgewählt hat



also eigentlich soll das programm das nennen was ausgewählt ist doch ich komm nur bis dahin das er mir sagt ob es überhaupt ausgewählt ist und wenn ich bei itemns den text abfrage gibt er mir alles wieder, was ich aber nicht brauche.


danke

Moderiert von user profile iconChristian S.: Code- durch Delphi-Tags ersetzt.
Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Do 13.01.2005 um 09:55

_________________
Am ende sterben eh alle ................
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 13.01.05 00:24 
Den Text zu einem Eintrag erhälst du über das Property Items:

ausblenden Delphi-Quelltext
1:
2:
  if checklistbox1.Checked[0] then
    showmessage(checklistbox1.Items[0]);

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.