Greying Out Gadgets on Forms
- Last UpdatedNov 12, 2025
- 1 minute read
-
You can de-activate or re-activate all the gadgets on a form using the form method:
!MyForm.setactive( TRUE )
!MyForm.setactive( FALSE )
-
If you want most of the gadgets on the form to be de-activated, you can de-activate all gadgets on the form (and then activate the ones you want, individually) using the following form methods:
SetGadgetsActive( active is BOOLEAN )
SetActive( active is BOOLEAN )
SetActive(false) greys out all gadgets on the form, but doesn’t set their Active status, so that SetActive(true) restores the form to the precise state it was in before greying-out, that is, any inactive gadgets will still be inactive.
The command:
SetGadgetsActive( false )
Greys-out all gadgets on the form and sets their active status to inactive that means, their previous active state is lost. Similarly
SetGadgetsActive( true )
greys-in all gadgets and sets their active status to active.