anilnarayan
20th October 2010 09:15 UTC
coding on the click event of custom page next button ?
hi..
i have a custom page which have two text boxes. I want to call a function with these text box values as parameter.
how to code at the click event of the custom page next button.
please help me...
Afrow UK
20th October 2010 09:17 UTC
Look at the examples.
Stu
Majek
20th October 2010 17:13 UTC
Create 2 functions:
Function CustomPageEnter
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "CustomPage.ini"
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "CustomPage.ini"
FunctionEnd
Function CustomPageLeave
!insertmacro MUI_INSTALLOPTIONS_READ $R0 "CustomPage.ini" "Field 1" "Text"
; $R0 variable contains text
FunctionEnd
Then where you define your page order use:
Page Custom CustomPageEnter CustomPageLeave
Animaether
20th October 2010 19:59 UTC
better yet.. use nsDialogs.. and read the documentation -_-