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
- :
- To enable/disable a button by another button on one scene
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
Oct 29, 2007
08:46 AM
To enable/disable a button by another button on one scene
I have a simple dialog on which there are two buttons. what I want to do is when I click button1, the button2 will be disabled. when I click button1 again, the button2 will be enabled.
I have referenced to license agreement dialog and put two radio buttons on my dialog, if I click the radio button the button2 will do as I expected to be enabled/disabled.
I also create a CA attacted to button1 as DoAction, the CA will be a simple vbscript to evaluate "yes" or "no" to the property(isenabled), and added the disable/enable conditions on button2,so that the button2 will disabled when "isenabled='yes'" and disabled when "isenabled<>'yes'".
but it's not working.when I click button1, nothing happened on button2.
I am using Basic MSI project.
Thanks for help in advanced.
I have referenced to license agreement dialog and put two radio buttons on my dialog, if I click the radio button the button2 will do as I expected to be enabled/disabled.
I also create a CA attacted to button1 as DoAction, the CA will be a simple vbscript to evaluate "yes" or "no" to the property(isenabled), and added the disable/enable conditions on button2,so that the button2 will disabled when "isenabled='yes'" and disabled when "isenabled<>'yes'".
but it's not working.when I click button1, nothing happened on button2.
I am using Basic MSI project.
Thanks for help in advanced.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 29, 2007
03:09 PM
maybe this question is too simple so nobody answered me. 😛
but finally I got it after some time search and try.
just set [isenabled] equal to "Yes":
[isenabled] Yes 1 (or others conditions)
but finally I got it after some time search and try.
just set [isenabled] equal to "Yes":
[isenabled] Yes 1 (or others conditions)