Autor Beitrag
mexx2k
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 60



BeitragVerfasst: Do 30.08.07 10:12 
Guten Morgen alle zusammen

Hatte nach meinem Problem gesucht, leider hier aber nicht gefunden, deswegen das neue Thema.

Ich habe ein ganz normales Grid, ich weiss wie man Daten einliest und Daten ausliest...
Wie kann ich aber überprüfen, welche Zeilen, Spalten oder Zellen gerade markiert sind?

Ich hoffe ihr könnt mir da weiterhelfen.

Danke
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: Do 30.08.07 10:32 
Col und Row geben die aktuelle Zeile und Spalte an. Daraus resultiert die aktuelle Zelle. Mit Selection bekommst Du den selektierten Bereich.

Steht aber alles in der Hilfe. Mache Dir doch mal die Mühe dort erst nachzulesen.
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 30.08.07 10:35 
Was für ein Grid StringGrid, DBGrid?

_________________
Markus Kinzler.
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: Do 30.08.07 10:52 
@mkinzler:
user profile iconmexx2k hat folgendes geschrieben:
Ich habe ein ganz normales Grid, ich weiss wie man Daten einliest und Daten ausliest...
Klingt sehr nach manueller Verarbeitung. Deswegen bin ich von einem TStringGrid ausgegangen. Meine Glaskugel meint das auch. Der TÜV ist aber abgelaufen. :wink:
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 30.08.07 10:59 
Habe ich auch vermutet, sicher kann man sich aber nie sein. Deshalb besser Nachfragen.

_________________
Markus Kinzler.
mexx2k Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 60



BeitragVerfasst: Do 30.08.07 12:58 
Ich verwende ein StringGrid.
Wie genau fange ich mit Selection ab, was genau markiert ist?
Und was ist wenn mehrere Spalten oder Zeilen markiert sind?

Danke
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: Do 30.08.07 13:09 
user profile iconjasocul hat folgendes geschrieben:
Steht aber alles in der Hilfe. Mache Dir doch mal die Mühe dort erst nachzulesen.
:roll: