Autor Beitrag
Andreas_Sans
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Mi 18.02.04 20:47 
Mit if not(key in [#8, '0'..'9']) then  bla bla bla kann ich abfragen, ob die gedrückte Taste eine Zahl war oder nicht. Aber wie mache ich, dass diese if-abfrage nur bei bestimmten zellen eines Stringgrid kommt ?
grayfox
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 800

win98, winXP
D4 Standard; D6 Personal
BeitragVerfasst: Do 19.02.04 01:01 
hallo andreas!

bevor du die tasten abfragst, kannst du ja mit StringGrid.Col die spalte ermitteln, in welcher du dich grad befindest.

mfg, stefan