I am wondering if anyone knows how I could set the values of text fields when the user presses the back button..
something like this:
I am saving value entererd in the above text box into $CCIP.
Function OnChange
Pop $0 ; HWND
System::Call user32::GetWindowText(i$Text_ccip,t.r0,i${NSIS_MAX_STRLEN})
Strcpy $CCIP $0
FunctionEnd
; on the bottom of my verification page i have the
; following code just before the end of the custom page
; function
; GetFunctionAddress $clnow clearnow
; nsDialogs::OnBack /NOUNLOAD $clnow
; nsDialogs::Show /NOUNLOAD
;FunctionEnd
Function clearnow
nsDialogs::SetUserData /NOUNLOAD $Text_ccip $CCIP
${NSD_SetText} $Text_ccip $CCIP
Strcpy $Text_ccip $CCIP
FunctionEnd
when the user presses the back button the text fields (here text_ccip gets cleared. I want the user entered data to remain in the text box on pressing the back button. how could I use either the above or NSD_getstate? Any suggestions?