Prev Previous Post   Next Post Next
Old 6th March 2017, 12:39   #1
Junior Member
Join Date: May 2015
Posts: 32
Unhappy NSDialogs GetText problems

Hey there.

It looks like I'm too confused after reading the manual to use the NSD_GetText function.

I want to create a custom page that asks for a Text input. And this text should be written into the registry.
The MessageBox on the last line gives an empty box, so it seems like it's not working.

Can anybody help me out?

PHP Code:
Var Dialog
Var Label
Var Text
Var DB


::Create 1018
    Pop $Dialog

${If} $Dialog == error

NSD_CreateLabel0 0 11012u "What's the name of your database?"
Pop $Label

${NSD_CreateText0 13u 2512u "database_name"
Pop $Text

${NSD_GetText1018 $DB
    MessageBox MB_OK 
"$DB#my test if it works

ascTim is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump