Autor Beitrag
Sauger Chris
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: So 23.08.09 17:42 
hiho


ka ob ich schon zulang ab rechner sitze oder ich einfach nur blind bin

ich hab ne listview komp im Viewstyle := vsReport da sind 3 spalten und ich möchte einfach irgendein
subitem makieren geht das ??



danke schon mal
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 23.08.09 17:56 
Einzeln ist das in der Standardlistview AFAIK nicht möglich. Die ganze Zeile markieren ist da die einzige Umstellungsmöglichkeit.

Die VirtualTreeView ist ja besser anpassbar, d.h. wenn es da nicht standardmäßig geht, kann man es selbst programmieren.

Und wenn das Aussehen nicht so wichtig ist, wäre theoretisch noch ein StringGrid denkbar.
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: So 23.08.09 18:19 
user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
Und wenn das Aussehen nicht so wichtig ist, wäre theoretisch noch ein StringGrid denkbar.

Auch ein StringGrid kann wie ein Listview aussehen, nur der Default ist etwas seltsam.
Siehe TValueListEditor ;)

Spätestens, wenn du die Subitems dann auch bearbeiten willst, macht sich ein StringGrid da auch praktischer.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Sauger Chris Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: So 23.08.09 19:10 
danke schon mal für eure tips :P