There isn't such a function in the native Plus! Live scripting API which can do this, but you can do this very easily with the Windows API.
code:
Interop.Call("user32", "EnableWindow", Wnd.GetControlHandle("MyComboBox"), false);
where:
- Wnd is your PlusWnd object.
- "MyComboBox" is the ID of the control to enable/disable.
- false can be true or false, whether you want to enable or disable the control.
You can use this on anything which has a valid handle: all kinds of controls (with Wnd.GetControlHandle(...) ) and windows (with Wnd.Handle).