"macta" <
[hidden email]> wrote in message
news:
[hidden email]...
>I have put some radio buttons inside a ContainerView. I am not convinced
>that in D6 the container view is required (actually I don't understand how
>radio buttons behave - removing isGroupStop and putting them in a
>GroupBox.Default seems to give single selection behavior?
I'd imagine you've sorted this out by now, but the
RadioButton/RadioButtonSetPresenter class comments do go some way to
explaining this. You should use a RadioButtonSetPresenter connected to a
container view to host the RadioButtons. RadioButtonSetPresenter's own
default view is a good place to start because it is correctly pre-populated
as an example. Note that only the first RadioButton has #isGroupStop set.
You can use RadioButtons outside a RadioButtonSetPresenter, and Windows will
maintain a single selection within a group, but that is a harder way to go.
The implementation of RadioButtonSetPresenter itself should help you here.
Note that the buttons do have to sit within some kind of parent window for
the isGroupStop stuff to work, and note further that GroupBox is not
actually a container, just a visual decorator.
Regards
Blair