Depending on the Boolean 'On', this either enables the gadget or disables it.
The Gadget is defined by its GadgetID number. If the Gadget is found in the
Gadget list of the window, its GADGDISABLED bitis either set or cleared. The
Gadget is redisplayed.