Re: popup menus



<amanda_j_wilcox@xxxxxxxxxxx> schreef in bericht
news:1143443913.927315.28690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I'm using Delphi 2005. I have a form with many components each
using the same popup menu. The menu item notification tells me
which menu item the user selected (via the Sender parameter). But
how can I tell which component the user right clicked on to bring up
the popup menu?

Thank is advance.

Amanda


Help (D6): property PopupComponent (Indicates the component that last
displayed the popup menu in response to a right mouse click).

Tom


.



Relevant Pages

  • Re: Popup Menu - Track Button properties not working
    ... > I'm using Delphi 6. ... I used the bitbtn and popup menu together. ... I have tried to change the TrackButton properties ...
    (borland.public.delphi.nativeapi)
  • Re: ContextMenuBugfix.pas in CodeCentral
    ... Tiger wrote: ... That's because a RichEdit doesn't have a default popup menu (confirmed ... with Delphi 7) ...
    (borland.public.delphi.thirdpartytools.general)
  • popup menus
    ... I'm using Delphi 2005. ... using the same popup menu. ... The menu item notification tells me ... which menu item the user selected (via the Sender parameter). ...
    (comp.lang.pascal.delphi.misc)
  • Popup Menu - Track Button properties not working
    ... I'm using Delphi 6. ... I used the bitbtn and popup menu together. ... I have tried to change the TrackButton properties ...
    (borland.public.delphi.nativeapi)
  • Re: blue screen of nothing
    ... The process called dwwin.exe is the main executable for Doctor Watson. ... producing an error shortly before shutdown. ... Computer: TOM ... Event Source: Application Popup ...
    (microsoft.public.windowsxp.help_and_support)