Migrating form field WIDGET="type"
BDS fields using the WIDGET attribute must be replaced by Genero BDL form item types.
To get combo-boxes or check-boxes in Four Js Business Development Suite (BDS),
.per forms defined fields with the WIDGET attribute. As a
replacement, use the Genero BDL form item types such as EDIT and
COMBOBOX.
The following table lists the existing Four Js BDS WIDGET fields, and the corresponding Genero BDL form item types.
| WIDGET= | Description | Genero equivalent |
|---|---|---|
WIDGET="Canvas" |
Drawing area for fgldraw functions | CANVAS item type |
WIDGET="BUTTON" |
Text push button firing key event | BUTTON item type |
WIDGET="BMP" |
Image push button firing key event | IMAGE item type with ACTION attribute |
WIDGET="CHECK" |
Checkbox field | CHECKBOX item type |
WIDGET="CHECK" + CLASS="KEY" |
Checkbox field firing key event | CHECKBOX item type + ON CHANGE trigger in program |
WIDGET="COMBO" |
Combobox field | COMBOBOX item type |
WIDGET="FIELD_BMP" |
Edit field with push button | BUTTONEDIT item type |
WIDGET="LABEL" |
Label field (no input) | LABEL item type |
WIDGET="RADIO" |
Radio group field | RADIOGROUP item type |
WIDGET="RADIO" + CLASS="KEY" |
Radio group field firing key event | RADIOGROUP item type + ON CHANGE trigger in program |
Note:
Genero supports much more form item types as BDS, such as DATEEDIT, PROGRESSBAR and WEBCOMPONENT.