Autor Beitrag
Friedhelm
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 47



BeitragVerfasst: Do 14.11.02 09:55 
Hallo zusammen,

wenn man im StringGrid während der Laufzeit die Zeilen mit der linken MT selektiert, ist die Farbe dieses Balkens blau. Und die Farbe möchte ich ändern.
Wie geht das?
Danke für die Antwort.

Gruss
Friedhelm
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: Fr 15.11.02 12:48 
Hallo,

Du kannst die Zellen selber zeichnen, und die farben einzeln bestimmen

Stichwort: OndrawCell,
ein (nicht einfaches Beispiel) ist z.B. hier
www.auq.de/viewtopic.php?t=3935

um zu wissen, ob die Zelle selktiert ist, kannst Du über State beim ondrawcell ereignis abfragen.

Mfg Frank