|
-
May 28th, 2007, 01:29 PM
#3
Re: [2005] Contextmenustrip - One function to rule them all
Gremmy,
Many thanks for your reply and taking the time to put together the code for me.
That does work and I have toyed with that option, only problem though is that the number of items on the menu will change throughout the application so I need something a bit more generic which will work across the board.
I've been playing around with
Code:
ContextMenuStrip.SourceControl.Text = ContextMenuStrip.Text
Now this works to a degree. Firstly it will allow me to enter the text straight into the textbox which fired the contextmenu but the problem I have is that it doesn't put the menu item text in it.
MadCat
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|