Changed section index is stored in $0 during .onSelChange callbacks

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6184 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2011-11-20 22:03:21 +00:00
parent 9a3f4e0cb1
commit de46637e02
2 changed files with 19 additions and 15 deletions

View file

@ -100,7 +100,7 @@ Example:
Called when the selection changes on the \R{pages}{component page}. Useful for using with \R{sectionsetflags}{SectionSetFlags} and \R{sectiongetflags}{SectionGetFlags}.
Selection changes include both section selection and installation type change.
Selection changes include both section selection and installation type changes. The section id of the changed section is stored in $0. $0 is -1 if the installation type changed. You only get notifications for changes initiated by the user and only one notification per action even if the action also affected child sections and/or parent groups.
\S3{onuserabort} .onUserAbort
@ -193,7 +193,7 @@ Example:
Called when the selection changes on the \R{pages}{component page}. Useful for using with \R{sectionsetflags}{SectionSetFlags} and \R{sectiongetflags}{SectionGetFlags}.
Selection changes include both section selection and installation type change.
Selection changes include both section selection and installation type changes. The section id of the changed section is stored in $0. $0 is -1 if the installation type changed. You only get notifications for changes initiated by the user and only one notification per action even if the action also affected child sections and/or parent groups.
\S3{unonuserabort} un.onUserAbort