Autor Beitrag
Baphomet
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 20


Delphi 7
BeitragVerfasst: Sa 16.09.06 17:38 
hey leute

also ich hab ein draw grid

Wenn ich jetzt auf eine Zelle klicke und danach auf noch eine Zelle klicke, hätte ich gerne, dass sich das Programm beide Zellen merkt, weil ich den Index für eine weiter Anwendung benötige


wie mach ich das am besten?

greetz
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Sa 16.09.06 20:53 
Hallo,

erstell Dir Variablen zum Zwischenspeichern der Zell-Adressen, z.B vom Typ TGridCoord oder auch ein Array [0..3] und im Ereignis OnSelectCell dann die Variablen ACol und ARow auswerten.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )