Migrating form field WIDGET="type"
Genero BDL supports the now-deprecated BDS fields using the WIDGET attribute, but recommends the use of Genero BDL form item types instead.
To get combo-boxes or check-boxes in Four Js Business Development Suite (BDS),
.per forms defined fields with the WIDGET
attribute. To ease migration, the
WIDGET
attribute and the corresponding form field widgets are still supported in
Genero Business Development Language (BDL), but are now deprecated. It is recommended to use the new
BDL form item types instead.
This 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 | BUTTON item type |
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 |
Genero introduced more form item types, such as DATEEDIT and PROGRESSBAR.