Autor Beitrag
Delphi2009lover
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: So 01.11.09 21:00 
Hi ich wollt nur fragen, was das für ein Control ist, bzw wo ich es her bekomme

Unbenannt

Es ist ja eine Art Listbox, nur mit mehreren Spalten...


Danke schon jetzz mal!!


Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am So 01.11.2009 um 22:32
Einloggen, um Attachments anzusehen!
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: So 01.11.09 21:18 
Die komplette Liste ist ein TListView (Reiter Win32) mit ViewStyle := vsReport und Columns. Wenn es dir nur um die Leiste geht könnte THeaderControl was für dich sein.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: So 01.11.09 23:42 
Hallo,

für eine tabellarische Darstellung kann man auch das StringGrid oder DrawGrid verwenden, ist mein Favorit.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
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: Mo 02.11.09 00:54 
Das sieht allerdings bei weitem nicht so gut aus wie mit der ListView und ist auch schlechter bedienbar, insbesondere was Sortierung und Scrollen angeht.

Noch besser als alle diese Komponenten ist natürlich die VirtualTreeView, aber die ist auch komplizierter anfangs.
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Mo 02.11.09 09:24 
user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
...aber die ist auch komplizierter anfangs.


Wenn man einmal verstanden hat wie die Komponente funktioniert wird man nie wieder eine andere Liste nehmen.
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Di 03.11.09 07:17 
Das ist schon sehr sehr gut danke!!! Aber wie kann ich dann jetzt einer bestimmten Spalte etwas hinzufügen (mit Code)

Also Collums scheinen ja die Spalten zu sein. Da habe ich jetzt 4 gemacht. Wie kann ich jetzt für die Items hinzufügen?

Danqqe!!!
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Di 03.11.09 08:28 
Hallo,

wenn Du Dich für die Standard-ListView entschieden hast, dann sollte Dir das weiterhelfen: Link

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Di 03.11.09 14:51 
Danke^^ es hat geholfen !!! Vielen dank an alle habt sehr geholfen