Archive: string Concat


string Concat
Is there any string function in NSIS by which i can concat strings.
Also in my custome page when my user clicks next i want to verify value entered in text box in page leave function , what command i can use for not leaving the custome page if verification fails.


Is there any string function in NSIS by which i can concat strings.
StrCpy $1 "a string"
StrCpy $2 "another string"
StrCpy $0 "$1 - $2"
MessageBox MB_OK "$0"
Also in my custome page when my user clicks next i want to verify value entered in text box in page leave function , what command i can use for not leaving the custome page if verification fails.
Check out last example I've posted on this thread,

http://forums.winamp.com/showthread....hreadid=246979

Thanks Red Wine One more question,in my custome page i have 5 text boxes. In page leave i'm checking wheather values entered by user are in proper range & if they are not i'm giving error. Now what i want to do is that , the text in text box whose values are not range automatically get selected. Is there any way i can set focus on that perticular textbox. I think updating INI file wont help what can i do


Current InstallOptions release supports FOCUS flag, see the manual,

http://nsis.sourceforge.net/Docs/Ins...ns/Readme.html


It doesn't work if i change .ini file at run time it doesn't reflect the changes is there any way i can unload page & reload page very fast?


Changing focus at runtime has been discussed several times on the forum,
a quick search came up with several results,

http://forums.winamp.com/search.php?...by=&sortorder=