Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 29th September 2006, 09:13   #1
Karfax2
Junior Member
 
Join Date: Jan 2006
Location: Ukraine, Kharkov
Posts: 23
How hide section on custom page?

I have next custom page:

code:

[Settings]
NumFields=6

[Field 1]
Type=Label
Left=0
Top=0
Right=393
Bottom=10
Text=Your nickname:

[Field 2]
Type=Text
Left=0
Top=10
Right=300
Bottom=23
State=

[Field 3]
Type=Label
Left=0
Top=30
Right=393
Bottom=40
Text=Folder

[Field 4]
Type=DirRequest
Text=Select a directory...
State=C:\Program Files\NSIS
Left=0
Top=40
Right=300
Bottom=53

[Field 5]
Type=Label
Left=0
Top=71
Right=300
Bottom=91
Text=Config your IP:

[Field 6]
Type=Droplist
ListItems=
State=
Left=0
Top=91
Right=300
Bottom=100



I wish to have an opportunity hide any field from installer, before show this page. Maybe exist field's value like "visible=true|false"?
Karfax2 is offline   Reply With Quote
Old 29th September 2006, 11:46   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You can have the fields you want to hide as the last fields and then change NumFields accordingly. You could also use an invalid Type value.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp 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