context Menu

  • Thread starter msnews.microsoft.com
  • Start date
M

msnews.microsoft.com

Hello
I have a Inherited Text Box
I have Created a ContextMenu() for the class

Now when i Use the Text box in the Code
I can Add items to the Context Menu

When i Show the form and Textboxes all is fine

even when i right click the text box and i do see my option....

The Problem i having is i have 6 Textboxes Representiong 6 Different
Physical Drive or unc Paths on the network

so when im in the ContextMenu Event , I Cant See which TextBox Control owns
this specific Context Menu

Any Help
thank you
 
J

Joe Cool

Hello
I have a Inherited Text Box
I have Created a ContextMenu() for the class

Now when i Use the Text box in the Code
I can Add items to the Context Menu

When i Show the form and Textboxes all is fine

even when i right click the text box and i do see my option....

The Problem i having is i have 6 Textboxes Representiong 6 Different
Physical Drive or unc Paths on the network

so when im in the ContextMenu Event , I Cant See which TextBox Control owns
this specific Context Menu

Did you try the SourceControl property?
 
M

msnews.microsoft.com

Thats It
Thank you very much Sir


Hello
I have a Inherited Text Box
I have Created a ContextMenu() for the class

Now when i Use the Text box in the Code
I can Add items to the Context Menu

When i Show the form and Textboxes all is fine

even when i right click the text box and i do see my option....

The Problem i having is i have 6 Textboxes Representiong 6 Different
Physical Drive or unc Paths on the network

so when im in the ContextMenu Event , I Cant See which TextBox Control
owns
this specific Context Menu

Did you try the SourceControl property?
 

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

Top