Old 5th February 2013, 07:45   #1
ilaiyaraja
Member
 
Join Date: Sep 2012
Posts: 81
How to write text into custom page?

I have created custom page using following code.

Function custom
nsDialogs::Create /NOUNLOAD 1018
Pop $Dialog
${If} $Dialog == error
Abort
${EndIf}
DetailPrint "Test"
nsDialogs::Show
FunctionEnd

I want to write some text into that custom page.How to do this?
ilaiyaraja is offline   Reply With Quote
Old 5th February 2013, 07:52   #2
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 672
Use a label (NSD_CreateLabel).
jpderuiter is offline   Reply With Quote
Old 5th February 2013, 08:04   #3
ilaiyaraja
Member
 
Join Date: Sep 2012
Posts: 81
Thanks.great.Its working.Text has been added successfully.Now i want to customize that text like font,style and etc..Is it possible? sorry i'm new to NSIS script.
ilaiyaraja is offline   Reply With Quote
Old 5th February 2013, 08:07   #4
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
I googled for 'nsdialogs font', and the first hit gave me this:
http://stackoverflow.com/questions/5...nsis-installer

(My point is, it often helps a lot to google. Google is your friend.)
MSG is offline   Reply With Quote
Old 5th February 2013, 08:33   #5
ilaiyaraja
Member
 
Join Date: Sep 2012
Posts: 81
Thanks MSG.I got it.working fine.
ilaiyaraja is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
java, nsis

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