OpalSetGroup

Procedure OpalSetGroup(window_ref:integer, widget_ref:integer, group:integer = -1)

Change the group the widget is part of. Only radio buttons and toggle buttons can be grouped, but both can be part of the same group.

When widgets are grouped, only one can be set at a time (if one is set, all the others in the group are unset). -1 is no group.


window_ref:integer = ref of the window that contains the widget
widget_ref:integer = ref of the widget
[group]:integer = group (default -1)