quote:Originally posted by RaceProUK Patchou should have included an EnableControl() in the scripting engine: it's a common enough task.
code:function EnableControl(Control) { var ControlHandle = null; ControlHandle = wndResp.GetControlHandle(Control); Interop.Call("User32","EnableWindow", ControlHandle, 1); } function DisableControl(Control) { var ControlHandle = null; ControlHandle = wndResp.GetControlHandle(Control); Interop.Call("User32","EnableWindow", ControlHandle, 0); }