Autor Beitrag
jjturbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 09.09.10 13:38 
Moin Forum,

ich hätte gerne in einem DBGrid, wenn man mit der rechten Maustaste auf einen Zelleninhalt klickt ein PopUp-Menu geöffnet.

OnMouseDown geht nur wenn ich das Grid selbst anklicke(nicht bei einer Zelle mit Daten) und OnCellClick funzt nur mir der linken Maustaste.

Jemand eine Idee?

Danke Euch,
Gruß Oliver

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
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.09.10 14:21 
Einfach im OI ein PopupMenu zuweisen, sollte eigentlich ausreichen.
Obwohl sich das natürlich immer auf das ganze DBGrid bezieht, aber du kannst im "OnPopup" noch reagieren.
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 09.09.10 14:26 
Jepp, so einfach :D

Danke, das wars :)

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...