Activating form items with DISPLAY
The methods for enabling or disabling fields and actions differs between Four Js BDS and Genero BDL.
WIth Four Js Business Development Suite (BDS), the program could enable and disable
WIDGET="BUTTON"
, "CHECK"
and "RADIO"
fields of
class "KEY"
with the DISPLAY TO
instruction:DISPLAY "!" TO order.ord_status -- Enables the field
DISPLAY "*" TO order.ord_status -- Disables the field
With Genero BDL, use the DIALOG.setFieldActive()
method to enable/disable
fields, and the DIALOG.setActionActive()
method to enable/disable actions
(controlling form buttons). For more details, see Enabling and disabling actions