Context Menu

  • Thread starter Thread starter Kevin L
  • Start date Start date
K

Kevin L

I have multiple controls that use the same context menu.
Is there a way to determine which control initiated the context menu in the
context menu's Click event?

sender references the context menu itself.
 
Kevin L said:
I have multiple controls that use the same context menu.
Is there a way to determine which control initiated the context menu in
the context menu's Click event?

Check the contextmenu object's 'SourceControl' property.
 
Where's your solution then, Herfried? I guess there isn't a link to a google
thread - LOL

Crouchie1998
BA (HONS) MCP MCSE
 
Crouchie1998 said:
Where's your solution then, Herfried? I guess there isn't a link to a
google
thread - LOL

Well, I posted a reply containing a solution quite a time ago :-).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top