GuiEnable
- enables or disables on-chart control

GUI functions
(AFL 4.30)


SYNTAX GuiEnable( id, enable )
RETURNS NUMBER
FUNCTION Enables / disables GUI control. Disabled control can not be clicked and has "grayed" look.

Parameters:

  • id - control ID
  • enable - True if control should be enabled, or False if control should be disabled

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 , GuiRadio() function , GuiSlider() function , GuiToggle() function

References:

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

More information:

Updated on-line reference