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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bssnoopy3
    New Member
    • Oct 2013
    • 1

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

    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.
Working...