GuiSetVisible
- shows or hides on-chart control

GUI functions
(AFL 4.30)


SYNTAX GuiSetVisible( id, visible )
RETURNS NUMBER
FUNCTION The function makes on-chart GUI control visible or invisible (hidden). Hidden controls do not receive user input.

Parameters:

  • id - control ID
  • visible - True if control should be made visible, or False if control should be hidden
Returns True (1) on success, False (0) on failure

For more information about using GUI controls see Tutorial: Using on-chart GUI controls

EXAMPLE
SEE ALSO GuiButton() function , GuiCheckBox() function , GuiDateTime() function , GuiEdit() function , GuiEnable() function , GuiRadio() function , GuiSlider() function , GuiToggle() function

References:

The GuiSetVisible function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference