Autor Beitrag
Dayhawk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Mi 02.04.03 13:11 
Hiho
ich hab mit der Suchfunktion leider nichts gefunden. Also ich will wenn der User eine neue Zeile in einem Stringgrid auswählt auslesen welche Zeile ausgewählt ist...
Ich bin sicher das Problem kann nicht so schwer sein ich hab aber leider nichts gefunden
Mit OnSelectCell müsste ich ja immer reagieren können wenn der User was neues auswählt oder ? (Gibs was besseres?)

Danke schonmal für die Hilfe

Mfg Nighthawk
inselberg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458



BeitragVerfasst: Mi 02.04.03 13:31 
möchtest du die zeilen nummer ...

oder den inhalt ?

_________________
hans bist du das ?
Dayhawk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Mi 02.04.03 13:34 
Hiho
um den inhalt zu bekommen brauch ich ja die nummer *g* also brauch ich die nummer..

Mfg Nighthawk
inselberg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458



BeitragVerfasst: Mi 02.04.03 14:03 
nö
eben nicht :)

wäre ich zu hause könnt ich dir en bsp pasten ... weil so ausm kopf bekomm ich das nicht fehlerfrei hin ...

wenn mir keiner zuvor kommt, mach ichs das denn mal heute abend

_________________
hans bist du das ?
Dayhawk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Mi 02.04.03 14:06 
jo wäre cool wenn du mir helfen kannst Thx schonmal
inselberg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458



BeitragVerfasst: Mi 02.04.03 19:38 
ausblenden Quelltext
1:
2:
3:
4:
procedure TForm1.DBGrid1CellClick(Column: TColumn);
...
column.Field.DataSet.Fields[0].AsString
...


uc ?

_________________
hans bist du das ?
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Mi 02.04.03 19:44 
hallo,

es gibt die eigenschaft row und die eigenschaft cell. Da stehen immer die aktuellen koordinaten der markierten zelle drin.

Gruß
Ken
Dayhawk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Mi 02.04.03 20:40 
THX
ich hab CenBells Variante genommen !