Autor Beitrag
ralfi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 153



BeitragVerfasst: Mi 02.06.04 00:54 
Hallo,

ich habe ein ListView mit mehreren Items auf der Form. Ich würde gerne das Caption eines Items ändern, wenn dieser selektiert ist. Und beim deselektieren wieder ändern. Wie mache ich das?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 02.06.04 09:34 
du musst irgendwo die original captions der items speichern. am besten in einem nicht sichtbaren subitem des items. und dann weist du im onselect ereignis dem selektierten Item die neue caption zu und gehst gelichzeitig alle anderen items durch und weist ihnen die original caption zu.

_________________
In the beginning was the word.
And the word was content-type: text/plain.