cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RakeshPatil
Level 5

Default Radio Button Selection

Hi,

I have one dialogbox which contains 2 radio buttons.
When that dialog appears while installation, I wanted to make default selection of any of the radio button.But I am not able to find the way to do it.

My Project type is Installscript Project.

Please share your thoughts on this.
Labels (1)
0 Kudos
(4) Replies
Not applicable

You can use CtrlSetState function, for example:

CtrlSetState(szDlg, RADIO_BUTTON_ID, BUTTON_CHECKED);
0 Kudos
RakeshPatil
Level 5

Thanks Kevin for your reply.
It worked.
0 Kudos

How did you make it work i am in same condition. do we need to implement any script??
0 Kudos

Hi Ravi_Raj_Nukala,

Yes,you have to add installscript function and execute it as custom action.

Refer the below link for example:

https://helpnet.flexerasoftware.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LangrefCtrlSetState_example.htm?

 

Thanks,

Jenifer

0 Kudos