Purging Unneeded Escape Code
If you delete a form field or menu item for which you have included escape code, Vision purges the escape code that refers to the deleted item. The escape code is purged from the frame's source code file the next time Vision regenerates the code.
You can force Vision to generate the new source code by using the Compile operation on the Application Flow Diagram Editor menu.