tmxk
14th May 2008 23:12 UTC
How can I pass a variable from nsDialog function?
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
tmxk
15th May 2008 13:19 UTC
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
tmxk
15th May 2008 13:25 UTC
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
tmxk
15th May 2008 20:32 UTC
Nobody can help?
kichik
15th May 2008 20:35 UTC
With all the clarifications, I can no longer understand the question. Can you re-ask and with a full example this time?