Archive: nsDialog: Make more pages


nsDialog: Make more pages
Hi folks,

its heavy to work with nsDialogs, because there a very few examples...nsDialogs is a very fine solution and I want to use and understand it better !!!

So I hope that you pleeeeeease could help me !

I managed to make some simple textfields to get some userinput.

Unfortunately I need about 40 such parameters for my installer. There is not so much space for 40 Textfields,

so I need to "make more than one nsDialog pages"

I searched in the documentation and in the forum, but no hint, how I can realize more pages, with Back and Forward Buttons !

Could you please give me a hint (or a link) how i can come to my destiny ?

Greetings Jochen Graulberger from BLACK-FOREST !

P.S: I will post my script, when it's ready, because i don't want others to invent the wheel twice....


just add another page and a function with it

!include LogicLib.nsh

Name nsDialogs
OutFile nsDialogs.exe

XPStyle on

Var Dialog

Page custom nsDialogsPage
Page custom nsDialogsPage2
Page instfiles

Function nsDialogsPage

nsDialogs::Create 1018
Pop $Dialog

${If} $Dialog == error
Abort
${EndIf}

FunctionEnd

Function nsDialogsPage2

nsDialogs::Create 1018
Pop $Dialog

${If} $Dialog == error
Abort
${EndIf}

FunctionEnd

Section

DetailPrint "hello world"

SectionEnd

Thank you !
Ahhhhhh,



it's Really THAT easy !!!!!!!!!!!!!!

Thank you for help !