Hello everyone. I just have not figured this one out yet and I have read the posts that talk about having more than one group of radio buttons and using groupboxes to organize them.
I have created two groupboxes. They have each been "sent to the back" so that they display underneath the radio buttons placed on top of them. I intend for one group to have two radio buttons, the other group three. Each radio button has a caption, a name, and I have double-clicked on them and specified what variable to write the value to. My tab order has groupbox #1, then its two radio buttons, then groupbox #2, its three radio buttons and finally the back, next, and cancel wizard buttons.
If I click radio #1 in group #1, fine. That control gets clicked and set to selected. If I then click (let's say......) radio #2 in group #1, then the previously clicked radio gets unclicked. It should not though because it should be in a different group.
What have I missed ? Is there something in the scripts that I need to check ? Each variable used by the buttons has had its value set to either TRUE or FALSE before the dialog is displayed.
Using InstallAware v12.1.
Thanks in advance for the help......
-Scott.
Ugh!. I mean InstallAware v18..... 12.1 is the version of my product.... <sigh> Just a long day....
Groupboxes & Radio Buttons
Re: Groupboxes & Radio Buttons
Scott,
Did you place and move the radio buttons on top of the group box or did you place them inside the group box? If you add the group boxes but don't select one and then place radio buttons on the dialog and move them over the group box, the radio buttons are not attached to the group box. Repeat that for the other group box and the behaviour will be like that you observed. Selecting a radio button from group box 1 will deselect any radio button you have in group box 2.
That is, add your group box to the dialog. Then select it; you'll see it has those black corner handles. Then add your radio buttons into the group box. The buttons will then be inside the group box. Repeat this for the second group box. Build and run your media and you will then see the buttons will operate independently of each other.
Adding the group boxes to the dialog won't do anything because it sounds like your buttons are all on the same level as each other and hence, they are all grouped together. That sort of makes sense in your case because you mentioned you changed the Z-order to send the group boxes to the back. If you select the group box first and then add the buttons you should be okay.
Did you place and move the radio buttons on top of the group box or did you place them inside the group box? If you add the group boxes but don't select one and then place radio buttons on the dialog and move them over the group box, the radio buttons are not attached to the group box. Repeat that for the other group box and the behaviour will be like that you observed. Selecting a radio button from group box 1 will deselect any radio button you have in group box 2.
That is, add your group box to the dialog. Then select it; you'll see it has those black corner handles. Then add your radio buttons into the group box. The buttons will then be inside the group box. Repeat this for the second group box. Build and run your media and you will then see the buttons will operate independently of each other.
Adding the group boxes to the dialog won't do anything because it sounds like your buttons are all on the same level as each other and hence, they are all grouped together. That sort of makes sense in your case because you mentioned you changed the Z-order to send the group boxes to the back. If you select the group box first and then add the buttons you should be okay.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
Re: Groupboxes & Radio Buttons
Ah Ha !!
Thank You ! so very much. Not the most intuitive way about it, but I can accept it. Do you know if this is documented somewhere other than this post ??
-Scott.
Thank You ! so very much. Not the most intuitive way about it, but I can accept it. Do you know if this is documented somewhere other than this post ??

-Scott.
Re: Groupboxes & Radio Buttons
It's not documented anywhere that I know of but perhaps there is something somewhere. From a programming viewpoint, adding radio buttons to group boxes is widely used and goes back in time to the 1990s when Visual Basic 3 was around. Fast forward to 2015 and the concept is still used in C# and other languages. You don't have too many options in InstallAware because the dialog editor has a restricted toolbox of controls which is understandable given that IA's IDE is not in competition with DotNet. Mind you, compared to the other installation product, IA is so far ahead so all things are perhaps relative, so to speak.
Now you have a retinal imprint of group boxes and radio buttons you'll do it instinctively next time.
Now you have a retinal imprint of group boxes and radio buttons you'll do it instinctively next time.

Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
Who is online
Users browsing this forum: No registered users and 94 guests