Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 09.06.05 15:33 
Ich würde gern über ein DBGrid die Reihe welche selektiert wurde auslesen, bzw. eigentlich nur den Inhalt eines Kästchens.
hab aber noch nix gefunden wie das gehen soll.


Moderiert von user profile iconraziel: Topic aus CLX / Delphi Language (Object-Pascal) verschoben am Do 09.06.2005 um 16:41
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 09.06.05 15:47 
Wenn die Zeile slektiert ist, stehst du auf dem aktuellen Datensatz.
Nimm die DataSet (TQuery, TTable, o.ä.) und lies die Daten daraus.
Zum Beispiel:
ausblenden Delphi-Quelltext
1:
 Wert := TQuery.Fields[<SpaltenNummer>].AsInteger;					
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Do 09.06.05 15:50 
OK, dankeschön, hat geklappt.