Migrating form field widgets

To get combo-boxes or check-boxes in Four Js Business Development Suite (BDS), .per forms could define 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 these are now deprecated: You should use new BDL form item types instead.


Four Js BDS-specific widgets screenshot

Figure 1. Four Js BDS-specific widgets

This table shows new Genero BDL form item types corresponding to old BDS WIDGET fields:

Table 1. Genero form item types corresponding to old BDS WIDGET fields
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 like DATEEDIT, PROGRESSBAR.

New form types in Genero screenshot

Figure 2. New form types in Genero