Hi all,
I created a custom page with nsDialog on which 2 radiobuttons are located. I am going to base on selection of the radiobuttons to do some actions, but I couldn't get the status of the radiobuttons even if I used variable such as $R9. Can anybody help? The following is part of the custom page function code, and I would like to use $R9 to get the status.
${If} $RadioButtonServer_State == ${BST_CHECKED}
${NSD_Check} $RadioButtonServer
StrCpy $R9 "TRUE"
${Else}
${NSD_Check} $RadioButtonClient
StrCpy $R9 "FALSE"
${EndIf}
Thanks in advance.
Jue
How can I pass a variable from nsDialog function?
5 posts
Hi,
I try to base on the options selected (either "Server" or "Client") in nsDialog custom page, and then disable or enable some sections in Component page. Can anyone help?
Thanks in advance.
Jue
I try to base on the options selected (either "Server" or "Client") in nsDialog custom page, and then disable or enable some sections in Component page. Can anyone help?
Thanks in advance.
Jue
Hi,
I don't think I can check the content of $R9 in function .onInit to set which section should be disabled in component page, since $R9 is not set when function .onInit is called. Where can I check and set, instead of in .onInit?
Thanks again.
Jue
I don't think I can check the content of $R9 in function .onInit to set which section should be disabled in component page, since $R9 is not set when function .onInit is called. Where can I check and set, instead of in .onInit?
Thanks again.
Jue
Nobody can help?
With all the clarifications, I can no longer understand the question. Can you re-ask and with a full example this time?