This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Cannot pass global property from a radio button♦
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 19, 2010
03:21 AM
Cannot pass global property from a radio button♦
Hi All.
I've created a custom dialog with two radio buttons. Depending on the selected buttons, it should install either 1st or 2nd feature.
The problem is that whatever I select, the property of radio button group doesn't change. If I assign different values to that property in the Property Manager, it works as it should (selecting the right features), but not via radio buttons.
What I did:
1) Created a radio button Group with property SIM
2) added two radio buttons inside
3) assigned values for radio buttons as "first" and "second"
4) next, I am checking conditions as SIM="first" or SIM="second"
The problem is that SIM doesn't change when I select the radio buttons.
What am I missing here?
Pls advise.
Thanks
I've created a custom dialog with two radio buttons. Depending on the selected buttons, it should install either 1st or 2nd feature.
The problem is that whatever I select, the property of radio button group doesn't change. If I assign different values to that property in the Property Manager, it works as it should (selecting the right features), but not via radio buttons.
What I did:
1) Created a radio button Group with property SIM
2) added two radio buttons inside
3) assigned values for radio buttons as "first" and "second"
4) next, I am checking conditions as SIM="first" or SIM="second"
The problem is that SIM doesn't change when I select the radio buttons.
What am I missing here?
Pls advise.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 20, 2010
01:30 AM
Why do you create a new dialog?
Try something like this
Try something like this
sFeature1="Install Option 1";
sFeature2="Install Option 2";
bFeature1 = FALSE;
bFeature2 = FALSE;
Dlg_SdAskFeature:
nResult = AskOptions(EXCLUSIVE, @CHOOSE_FEATURE, sFeature1, bFeature1, sFeature2, bFeature2);
if(!bFeature1 && !bFeature2) goto Dlg_SdAskFeature;