Autor Beitrag
technotoolz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47

Win98;Win2k;WinXP
D7 Ente
BeitragVerfasst: Mi 14.04.04 11:23 
Hallo Leute,
ich habe folgendes Problem:
Ich möchte das selektierte Listbox Item Als Caption für mein Panel1 haben, doch leider fehlt mir bei jedem Eintrag der erste Buchstabe. ( nur als Caption im Panel; in der Listbox natürlichnicht)

ausblenden Quelltext
1:
form4.panel1.Caption:=listbox1.Items.ValueFromIndex[listbox1.itemindex];					


Hab ich was falsch gemacht?
Irgend jemand Ahnung davon?
|TF|Alucard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 43

XP

BeitragVerfasst: Mi 14.04.04 11:25 
Hi,
nimm doch eine Groupbox. Da kannst du die Überschrift im nu einstellen.

mfG |TF|Alucard

_________________
Ich weiß nicht mit welchen Waffen der 3. Weltkrieg geführt wird, aber im 4. werden es Stöcke und Steine sein. [Albert Einstein]
King555
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 14.04.04 11:26 
Wofür ist denn das "ValueFromIndex"? Braucht man das? Unter Delphi 5 und Delphi 6 geht es so:

form4.panel1.Caption:=listbox1.Items[listbox1.itemindex];
technotoolz Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47

Win98;Win2k;WinXP
D7 Ente
BeitragVerfasst: Mi 14.04.04 11:41 
Das wars, war ein Argument zu viel. Danke