9. Modifying Vision Code
 
Share this page                  
Modifying Vision Code
Vision creates the 4GL source code and forms for the Vision frames in your application. As you build your application, you can make changes through the Visual Query Editor and the Application Flow Diagram. Vision regenerates the code to incorporate these changes. However, sometimes the code generated by Vision does not provide the desired behavior. This chapter discusses how to add to or override the code generated by Vision through:
Writing escape code
Modifying the template files
Including source code processing commands
Editing the source code to create a Custom frame
Editing help files
Note:  If you edit the source code, you lose the advantages of using the Vision code generator. Therefore, we recommend that you try one of the other methods before editing the source code.
The following section summarizes the first four methods. The sections after that discuss all five methods in detail.