About form components
Beginning in 9.0 SP11, you can create form components and add form components to a form. A form component is a reusable set of form and data controls, subroutines, and form events.
The form component editor is similar to the form editor. You can use the editor to build components by dragging and dropping form and data controls onto the canvas. These controls, such as check boxes, buttons, text fields, and drop-down lists, allow users to interact with your app. The appearance, layout, and behavior of controls can be modified with properties.
You can use platform views to arrange and style controls to define the way your component displays on specific devices. When you change platform views in a form that contains a component, the component uses the selected platform view.
You can define event subroutines for the controls within form components. When the component is added to a form, the component's subroutines are added to the form's events tab.
If you make a change to an event or property in a form component app item, the change is reflected in any forms that contain the component. This does not affect properties or events that have overrides.
After you create a form component, it displays on the Form Components tab in the form editor toolbox. You can drag and drop components from the toolbox to the form canvas to add them to a form.
Overrides
After you add a component to a form, you can override the properties and events that were set in the original component directly in the form. Overriding a component within a form does not affect the component itself, or any other forms that contain the component. If you add the same component to a form multiple times, overrides apply only to the specific component to which they are made.
You can make the following changes when you override a component from the form editor.
-
Edit properties for existing controls within the component.
-
Edit subroutines for existing events within the component.
-
Create new event subroutines for controls within a component.
You cannot use an override to add new controls, delete existing controls, or delete existing events.
If you override a control or event, a plus sign (+) displays next to the override. You can delete overrides from controls and events to restore them to their original state.
Loading...
There was a problem loading this topic