Modifying and adding window content
Window content is created on subforms of the Application form. The template comes with four forms: a calendar, a DataGrid component showing simulated inbox content, a scroll pane displaying an image, and a login form.
- Select any form in the outline and replace the contents with components of your choice. You can even add data connectors to populate your components with remote data. For more information about data connectors, see Components Dictionary.
- After altering the contents of a form, make sure that the window component that will load the form is sized properly, so your form's content won't appear clipped at runtime.
- Create a new form in the Screen Outline pane and give it an instance name. Make sure that its
visible
property is set to false
.
- Create a new window component on the Application screen, and set its
contentPath
property to the instance name of the form you've created.
- Add content to your new form.
At runtime, a copy of your form is loaded into the window component.