The Customize Code dialog box enables you to customize the way that code is generated for a component in the GUI Builder and to insert custom code within the GUI Builder's guarded blocks. You open the Customize Code dialog box box by right-clicking a component in the GUI Builder and choosing Customize Code.
In the Initialization Code section of the dialog box, you can type code before and after the generated initialization and creation code.
You can also replace a section of the generated code with your own custom code. Select a custom option from the drop-down list next to the section of code. Then type your custom code in place of the generated code.
In addition, you can set the way the variable is generated for the component.