context Menu

  • Thread starter Thread starter msnews.microsoft.com
  • Start date 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
 
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?
 
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?
 
Thats It
Thank you very much Sir

This question has been asked and answered several times in this
newsgroup. Try a search first next time.
 

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