OpalEnableWidget

Procedure OpalEnableWidget(window_ref:integer, widget_ref:integer, enabled:boolean = TRUE)

Enables or disables a widget. A disabled widget is still show, but cannot be interated with (greyed out). enabled omitted/TRUE enables the widget, FALSE disables it.


window_ref:integer = ref of the window that contains the widget
widget_ref:integer = ref of the widget
[enabled]:boolean = enable the widget (default TRUE)