Autor Beitrag
Thunder
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 145

WinXP
D6 Pers
BeitragVerfasst: Sa 03.01.04 18:19 
Hallo,

Ich will den ersten Eintrag in meiner TListbox zentriert anzeigen.

Alle anderen sollen unverändert bleiben, sprich linksbündig bleiben.

Wie?

Gruß,
Andreas
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 03.01.04 20:42 
Hallo

du must die items bei ondrawitem selber zeichnen. solltest dazu einiges im Forum finden.
den text ausmitteln kannst du mit canvas.textwidth (textlänge des Eintrages ermitteln)und ein wenig Mathe.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)