I am using the MUI and have a custom page with several droplist boxes and a button. I need to validate the contents of the droplists and stay on the page if there is a conflict. The button will reset the droplist values and should also stay on the page.
I've trimmed my program down to next to nothing for testing this. Right now my validate function looks like this:
The detail line always shows "0" no matter whether I click the button, change a droplist selection or click Next. The program leaves the custom page every time. I've attached my simple test program if anybody cares to see it.Function myPage.Validate
ReadIniStr $R0 "$PLUGINSDIR\${CustomPageIni}" "Settings" "State"
DetailPrint "Settings - State is: $R0"
${If} $R0 > 0
Abort
${EndIf}
FunctionEnd
Thanks,
Don