Old 4th January 2006, 12:22   #1
Matzju
Junior Member
 
Join Date: Jan 2006
Location: Germany / NRW
Posts: 2
Send a message via ICQ to Matzju
ModernUI Text Field on Custom Page

Hi!
I'm really new to NSIS so please don't hit me if it's a stupid question.

I added a custom Page to my setup project, so far no problem. But on the page, the defined text field is not shown before moving the mouse over it and than the background is of it is gray instead of white. What did I do wrong?
Here's my .ini File:

[Settings]
NumFields=3
Title=Datenbankinformationen

[Field 1]
Type=Label
Text=Some text
Left=10
Top=5
Right=-1
Bottom=-1

[Field 2]
Type=Label
Text=Another text
Left=20
Top=30
Right=-1
Bottom=-1

[Field 3]
Type=Text
State=some default value
Left=20
Top=40
Right=-180
Bottom=-90

Here's the function for creating this page

Function myFirstCustomPage
!insertmacro MUI_HEADER_TEXT "$(TEXT_IO_TITLE)" ""
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "first.ini"
FunctionEnd

Do I have forgotten any command? Are there commands that have to be called before?

Thanks for your help!
Matzju is offline   Reply With Quote
Old 4th January 2006, 15:22   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Looks to me like Field 1 is covering your text field up. You've got Field 1's Bottom property set to -1 which means it will cover the entire form.

-Stu
Afrow UK is offline   Reply With Quote
Old 4th January 2006, 15:52   #3
Matzju
Junior Member
 
Join Date: Jan 2006
Location: Germany / NRW
Posts: 2
Send a message via ICQ to Matzju
THANK YOU!

Thanky a lot! I'm so blind......
Matzju is offline   Reply With Quote
Reply
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