Form Components
Last updated
Was this helpful?
Last updated
Was this helpful?
Form Component in the Solution Explorer Tree is a special contained form used for simplified design and runtime optimization. The same behavior can be achieved via tabless tabpanel, but form component has optimized display because all elements are part of the same form, taking away the overhead of tabpanel and loading of another form.
A Form Component form can't have its own logic (.js file), it is also not available at runtime under forms.xxx
because there is no instance of such a form. Only the template and its properties are used, events like onclick
of a button can be assigned but only to scopes or entity methods (if the datasource is specified). Also because it does not have its own instance at runtime also all the form component events and commands like onLoad
are not available for it.
Such a Form Component form can be places on the form by using the following containers:
Here are the steps for creating a Form Component:
Open the active solution in Solution Explorer
Find the Form Components node, right click on it and select 'Create new form component', then 'New Form Component' wizard will appear
In the wizard you need to set the Form name
and select the Type
, also Datasource
and Extends
if needed, then click the Finish
button
The form editor will appear, where you can add the desired elements
Form Component has a list of several that can be edited the same way as for a normal Form.