Autor Beitrag
Dave_Bowman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 30



BeitragVerfasst: Sa 30.10.04 16:17 
Hallo,

ich habe zwei DBGrids, und beide möchte ich mit dem gleichen PopupMenu verbinden (da gleiche Einträge). Wie kann ich aber in der Ereignisbehandlung eines TMenuItems rauskriegen, in welcher Komponente das zugehörige PopupMenu ausgelöst wurde? Geht das überhaupt? Ich weiß, ich könnte ja auch einfach zwei Popups nehmen, aber ich denke, das geht bestimmt. Will ja was lernen. Weiß jemand, wie's geht? Vielen Dank!


Dave
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 30.10.04 16:30 
ausblenden Delphi-Quelltext
1:
popupmenu.popupcomponent					


Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Dave_Bowman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 30



BeitragVerfasst: Sa 30.10.04 16:52 
Jepp, Danke.