Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mo 17.04.06 21:17 
Hallo,
ich habe mal eine Frage zum mitgelieferten Stringgrid. Wie kann ich beim OnClick-Ereignis feststellen, welche Zelle selektiert ist ?

Danke schonmal.

Ciao LHUser

PS: Und noch eine kurze Frage hinterher: Gibt es eventuell eine alternative Grid-Komponente, wo ich die Font-Eigenschaft von den Zellen verschieden einstellen kann (z.B. Cell[0,0].Font:=clblue; und Cell[1,0].Font:=clred;) ?

EDIT: Wie es geht, herauszufinden, welche Zelle selektiert ist, weiß ich mittlerweile :) Mit dem OnSelectCell-Eriegnis. Aber die zweite Frage (PS) steht leider noch :)
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mo 17.04.06 22:17 
Moin!

Bist doch schon lange genug hier, um die Suchfunktion zu kennen. ;) Suche in: Delphi-Forum, Delphi-Library STRINGGRID FÄRBEN Geht da zwar primär um die Hintergrundfarbe einer Zelle, aber Zeichensatz ändern ist der gleiche Ansatz. :D

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.