User interface programming / Web components |
External graphical components can be integrated into forms by using the WEBCOMPONENT form item type.
A WEBCOMPONENT form field is a form element that defines an area in the form layout to hold an external component, typically not available as a native widget on the front-end platform.
Web components are designed for a specific need, and usually have advanced and powerful features which can bring added value to your applications. For example, you can find chart and graph widgets, calendar widgets, drawing widgets, and more. Such specialized widgets are not part of the standard GUI toolkits used by Genero front-ends. They need to be integrated as external components.
Some web components are free, and some are licensed, so you should take the cost into account before integrating a new web component in your application.
The content and/or behavior of a web component can be controlled in the program code by using the field value. To detect events inside the web component, the program dialogs must implement an ON CHANGE control block, that will be fired immediately after a user action on the web component.