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
- :
- Control the Edit box on clicking Radio Button during run time.
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
‎Dec 19, 2013
01:19 AM
Control the Edit box on clicking Radio Button during run time.
Hi
I am facing with an issue with the implementation of populating and clearing an Edit box which is triggered by clicking of Radio buttons on run time.
In Detail :
I have a dialog box with two Radio buttons (R1,R2) and a Edit Box : Ed
Value of R1 = 0
Value of R2 = 1
Scenario:
1. Click on R1 -> Ed populates with a text.
2. Click on R2 -> Ed clears the text.
Can any one help me in implementing this behavior ...
Thanks and Regards,
Vinay
I am facing with an issue with the implementation of populating and clearing an Edit box which is triggered by clicking of Radio buttons on run time.
In Detail :
I have a dialog box with two Radio buttons (R1,R2) and a Edit Box : Ed
Value of R1 = 0
Value of R2 = 1
Scenario:
1. Click on R1 -> Ed populates with a text.
2. Click on R2 -> Ed clears the text.
Can any one help me in implementing this behavior ...
Thanks and Regards,
Vinay
3 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2013
08:42 AM
Vinay,
If your project is InstallScript Only or InstallScript MSI, you can add an additional case statement to the dialog code.
example:
HTH
If your project is InstallScript Only or InstallScript MSI, you can add an additional case statement to the dialog code.
example:
...
case,
bR1Selected = (CtrlGetState(, ) = BUTTON_CHECKED);
if bR1Selected then
CtrlSetText(, , "R1 is selected" );
else
CtrlSetText(, , "" );
endif;
...
HTH
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2013
12:05 AM
Hi ch _eng
i am new to Install shield and a beginner, so could you direct me to the dialog code.
Yes, i am using an install script in a msi file .
i have created my dialog by : Instalation Designer -> User Interface -> Dialogs -> New Dialog
I have query, is it possible for a radio button group to trigger custom actions ??
Thanks and Regards,
Vinay
i am new to Install shield and a beginner, so could you direct me to the dialog code.
Yes, i am using an install script in a msi file .
i have created my dialog by : Instalation Designer -> User Interface -> Dialogs -> New Dialog
I have query, is it possible for a radio button group to trigger custom actions ??
Thanks and Regards,
Vinay
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2014
12:57 PM
Vinay,
Here are some official documentation links that will hopefully help. You have to create a new .rul file for the dialog you made in order to run code for it.
http://helpnet.installshield.com/installshield16helplib/mergedProjects/installshield16langref/LangrefEzDefineDialog.htm
http://helpnet.installshield.com/installshield16helplib/mergedProjects/installshield16langref/LangrefEzDefineDialog_example.htm
HTH
Here are some official documentation links that will hopefully help. You have to create a new .rul file for the dialog you made in order to run code for it.
http://helpnet.installshield.com/installshield16helplib/mergedProjects/installshield16langref/LangrefEzDefineDialog.htm
http://helpnet.installshield.com/installshield16helplib/mergedProjects/installshield16langref/LangrefEzDefineDialog_example.htm
HTH
