ShowGadget gadget
Parameters
| gadget - gadget to make visible |
Description
|
Makes a hidden gadget visible again. Requires Extended language mode. Gadgets start out visible; HideGadget and ShowGadget toggle them. Showing does not steal the keyboard focus, so you can reveal a panel without yanking the user out of the field they are typing in - call ActivateGadget separately if you want focus to move. Hiding and showing a container (a panel, group box or tabber page) takes everything inside it along, which is the usual way to build switchable tool modes: create one panel of gadgets per mode, hide all but the active one. A hidden gadget keeps its shape and layout rules and produces no events until shown again. To grey a control out while keeping it visible, use DisableGadget instead. See also: HideGadget, EnableGadget, DisableGadget, ActivateGadget. |
Index