Working With Forms > Introduction > The Form Toolbar

The Form Toolbar
The Form contextual ribbon toolbar provides access to most of the functionality for creating and editing forms and form objects. It is available when a form window is active. This section briefly describes the buttons on the Form toolbar.
The Main Section
This section contains buttons for moving to various windows and to create new forms and methods.
Click the Model Builder button () to switch from the Application Builder to the Model Builder windows and the standard COMSOL Desktop.
Click the New Form button () to create a new form using the New Form wizard. See Working with a Form and Using the New Form Wizard.
Click the New Method button () to create a new Method node in the model and open its code in a new editor tab. See The Method Nodes and Method Editor Windows.
Click the Settings button () to open or close the Settings window.
Click the Preview button () to show or hide the Preview window for a live preview of the forms and methods in the application. In the Preview window you can scroll to get a preview of all forms and methods in the application. This can be useful, for example, if you are working on a method that interacts with a form. To show a preview of a form in the Preview window, select a form or method node in the Application Builder window.
The Forms Section
This section contains buttons for creating a new form and inserting form objects into the current form.
Click the New Form button () to create a new form using the New Form wizard. See Working with a Form and Using the New Form Wizard.
Click the Insert Object button () to open a menu where you can choose from all types of form objects and add them to the current form. See The Form Objects.
The Layout Section
In this section you can switch between the sketch layout and the grid layout.
Click the Grid button () to switch to the grid mode. See The Grid Mode.
Click the Sketch button () to switch to the sketch mode. See The Sketch Mode.
The Sketch Section
This section contains buttons for tools available in the sketch mode. In the grid mode, these buttons are disabled.
Click the Show Grid Lines button () to add or remove an overlaid grid in the form window.
Click the Arrange button () to open a menu with tools to align the selected form objects.
The Grid Section
This section contains buttons for tools available in the grid mode. In the sketch mode, these buttons are disabled. In addition, most buttons are disabled unless you have selected cells in the grid that make the corresponding action possible.
Click the Row Settings button () to choose from a menu of settings for the row size for the selected rows. See Row and Column Settings.
Click the Column Settings button () to choose from a menu of settings for the row size for the selected columns. See Row and Column Settings.
Click the Insert button () to insert a row or a column next to the selected rows or columns. You can also open a menu to choose if you want to insert a row above or below, or if you want to insert a column to the left or to the right. See Inserting and Removing Rows and Columns.
Click the Remove button () to remove the current row or column. See Inserting and Removing Rows and Columns.
Click the Align button () to open a menu with tools to align and fill the contents in rows and columns. See Aligning Form Objects
Click the Merge Cell button () to merge the selected cells. See Merging and Splitting Cells.
Click the Split Cell button () to split the selected cell. See Merging and Splitting Cells.
Click the Extract Subform button () to extract the selected cells from the current form and insert them in a new form. See Extracting a Subform.
Click the Rows & Columns button () to open a dialog box where you can specify the number of rows and columns in the grid. See Row and Column Settings.
The Test Section
This section contains tools for testing the application.
Click the Test Application button () to launch the application in a separate window so that you can test it. See Testing the Application.
Click the Apply Changes button () to compile and apply code changes to the running application (so-called hot code swap). See Applying Changes to a Running Application.
Click the Preview Form button () to open a window that contains a preview of the form. See Previewing and Testing the Form.
Click the Test in Web Browser button () to test run the application in a web browser. See Testing the Application.
The View Section
The View section contains buttons for rearranging the views in the Application Builder desktop window.
Click the Tile () and Move To () buttons to rearrange the windows in the Application Builder.
Click the Reset Desktop button () to reset the desktop layout to the default state.