Autor Beitrag
Borni
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: Fr 01.07.05 14:31 
Moin Leude!

Kann man in Delphi die Zelle eines StringGrids oder DrawGrids auswählen, so dass diese selektiert ist. Natrürlich soll das nicht über die Maus geschehen...das wäre ja auch einfach. Ich möchte also eine Spalte und eine Zeile angeben, damit eine bestimmte Zelle durch den Code selektiert wird.

so etwas wäre gut: StringGrid.Cells[Acol, ARow].isSelected := true;

Viele Grüße
Borni

Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.
direction4delphi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 84

WIN 95, WIN 98, WIN ME, WIN NT, WIN 2000, WIN XP, VISTA
D2 Prof, D4 Prof,D2005 Prof, Delphi4Php
BeitragVerfasst: Fr 01.07.05 14:39 
Stringgrid1.row:=2;

mfg
MILLI
Borni Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: Fr 01.07.05 14:51 
Jo, genau das war es! Danke!

Gruß
Borni