By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

How to delete a run-time, dynamically created control with a right click context menu

P: 1
I have progress bars that are created in a function as the user fills out a dialog form and adds the progress bar. I would like the user to be able to delete the progress bar controls when they right click them in a context menu item. I can not understand how to tell the code which control is being right clicked, nor how to delete them when it does. Any help would be great, thaks.
Oct 5 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.