Archive: coding on the click event of custom page next button ?


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...


Look at the examples.

Stu


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


better yet.. use nsDialogs.. and read the documentation -_-