Autor Beitrag
mcbrunox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 92



BeitragVerfasst: So 01.09.02 13:10 
Wie kann ich z.B. den ersten Eintrag einer listbox in einen Label schreiben ?
Alfons-G
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 307

Win XP Prof, Linux, Win 7
D5 Prof, D7 Architect, D2005 Architect, D2007 Architect
BeitragVerfasst: So 01.09.02 13:23 
Das geht ganz einfach:Label1.Text := Listbox1.Items[0];Schau mal die Hilfe zu TListbox an. Alle Eigenschaften und Methoden zur Eigenschaft Items, mit der Du die Zeilen der Listbox manipulieren und abfragen kannst, findest Du unter TStrings

:idea:

_________________
Alfons Grünewald


Zuletzt bearbeitet von Alfons-G am So 01.09.02 16:17, insgesamt 1-mal bearbeitet
mcbrunox Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 92



BeitragVerfasst: So 01.09.02 13:29 
Danke