Autor Beitrag
Stadtfuchs
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

DOS 6.22, Win 95, Win 98(SE), Win ME, Win 2000, Win XP Home, Win XP Professional, diverse SuSE Linux Systeme
D5 Ent, D7 Pro, D2005 Ent, C/C++5
BeitragVerfasst: Fr 30.09.05 08:46 
hi,

mit dem befehl stringgrid1.Font.Style := [fsunderline]; kann man ja ein stringgrid unterstreichen. kann man das auch auf die erste zeile des stringgrids beschränken? die hab ich als fixed row eingestellt damit das so ne art überschrift darstellt. aber den befehl für das unterstreichen hab ich bisher nur für die komplette tabelle gefunden. weiss da einer weiter?

mfg
stadtfuchs

Moderiert von user profile iconTino: Delphi-Tags hinzugefügt.

_________________
Nicht wundern, bin Anfänger ^_^
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 30.09.05 09:16 
Da das wieder sicher so eine merkwürdige Aufgabe deines Ausbilders ist, suche mal hier unter:
Suche in der Entwickler-Ecke ONDRAWCELL
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Fr 30.09.05 09:18 
Hallo!

Du musst dafür das OnDraw-Event des StringGrids benutzen. Dort hast du dann die Möglichkeit jede einzelne Zelle im Grid anders zu zeichnen.

Such mal hier im Forum nach Suche in: Delphi-Forum TSTRINGGRID UND ONDRAW.

Lg Martin