Previous Topic: Preview Forms

Next Topic: Edit Menu Bars


Edit in Source View

Sometimes it is necessary or useful to look at source code for a form. This can be helpful for editing forms other than list or detail forms, or for editing HTML or JavaScript form elements that are not displayed in Design View. To switch to Source view for a form, click the Source tab to display the source code for the form.

For selected controls, WSP automatically moves the cursor to the beginning of the source code that defines that control.

The Source view editor is a basic text editor, similar to the standard Windows Notepad editor, except that Source view is color-coded. HTML and other keywords are highlighted and colored. You can control the font and the color coding used in Source view by choosing Options from the Tools menu. The Options dialog shows the font used in Source view and the default color for eight HTML and JavaScript elements. To change a color, click the ellipsis button next to it and select the desired color from the palette.