Hi
Is there some way to remove all source relative to a control when I delete this conrol ?
thx
Printable View
Hi
Is there some way to remove all source relative to a control when I delete this conrol ?
thx
Only manually.
There are addins which provide this functionality, I believe MZTools is capable of this.
I'm not sure I know what this means. You mean everywhere the control is referenced in your source code? That would be nearly impossible. You could have expressions evaluated and variables set that have the control mentioned in the same statement. If you did this, there'd be a high chance that you'd actually break your source code. The only reasonable way would be to comment out those lines, but then you'd still have the problem of multi-statement lines (using the colon) where the control was mentioned in a statement prior to the last one on the line.
What's wrong with just searching for the control's name and dealing with it yourself?
Elroy is right, but maybe you're referring to removing only the events generated by the control.