The IDE automatically generates the code for your GUI form as you create and edit it in the Form Editor. Parts of the generated source code are guarded, meaning you cannot edit them in the Source Editor. Guarded blocks of code are highlighted in blue in the Source Editor.
To modify a form or component's guarded code, select it in the Inspector window and modify its Code properties in the Properties window. You can modify the way initialization code is generated for a component, form, or component property. In addition, you can write custom code and specify where it should be placed within the initialization code.
See Also | |
---|---|
Guarded Text Modifying Code Generation for a Component Modifying Code Generation for a Form Modifying Code Generation for a Property Modifying Forms Externally |