| **Navigation:**  [[introduction.htm|Language Reference]] > 13 - Built-in Functions >====== ENABLE (re-activate dimmed control) ====== | [[empty empty a data file .htm|{{btn_prev_n.gif|Previous page}}]][[introduction.htm|{{btn_home_n.gif|Return to chapter overview}}]][[endpage force page overflow .htm|{{btn_next_n.gif|Next page}}]] | | || {{newc7.jpg|NewC7.jpg}} **ENABLE(**// //[ //first control// ] [,// last control //] **)** {{blk2blue.jpg|blk2blue.jpg}} | **ENABLE** | Reactivates disabled controls. | | //first control// | Field number or field equate label of a control, or the first control in a range of controls. If omitted, defaults to zero (0). | | //last control// | Field number or field equate label of the last control in a range of controls. | The **ENABLE** statement reactivates a control, or range of controls, that were dimmed by the DISABLE statement, or were declared with the DISABLE attribute. Once reactivated, the control is again available to the operator for selection. If the //first control //and// last control// parameters are omitted, ENABLE reactivates all controls on the window. **Example:** ** CODE** ** OPEN(Screen)** ** DISABLE(?Control2)         !Control2 is deactivated** ** IF Ctl:Password = 'Supervisor'** ** ****ENABLE****(?Control2)         !Re-activate Control2** ** END** **See Also:** [[disable dim a control .htm|DISABLE]] [[hide blank a control .htm|HIDE]] [[unhide show hidden control .htm|UNHIDE]]