Menu

#623 InstallOptions TxtColor

closed-fixed
5
2007-05-13
2007-05-10
Anonymous
No

NSIS: 2.27

My E-mail: theblazingangel [at] aol [dot] com

i believe the InstallOptions documentation regarding TxtColor is wrong. It says that colors should be specified in the format 0xBBRRGG. In my experience it actually requires 0xBBGGRR.

for links on my customised finish page i use '2070B0' with SetCtlColors. for links on my custom page i use TxtColor in the ini file. with the ini file i changed '2070B0' (RGB) to 'B02070' (BRG), but this gave me a different colour to what i expected. 'B07020' (BGR) worked though.

example .nsi file attached!

heres the ini file (prereqPage.ini) incase i can't attach a second file:
---
[Settings]
NumFields=5
CancelButtonText=Quit

[Field 1]
Type=Icon
Left=0
Right=10
Top=3
Bottom=10

[Field 2]
Type=Label
Left=30
Right=-4
Top=0
Bottom=40
Text=Prerequisite check failed! You need the following before you can install this release:

[Field 3]
Type=Text
Left=30
Right=-20
Top=40
Bottom=-34
State=release 1
Flags=VSCROLL|MULTILINE|READONLY|NOTABSTOP

[Field 4]
Type=Label
Left=30
Right=170
Top=-27
Bottom=-17
Text=Go back to try again!

[Field 5]
Type=Link
Left=-85
Right=-25
Top=-27
Bottom=-17
Text=Support Forum
State=http://www.google.com
TxtColor=0xB07020
---

Discussion

  • Nobody/Anonymous

    example .nsi file

     
  • Anonymous

    Anonymous - 2007-05-10

    Logged In: YES
    user_id=970495
    Originator: NO

    can't this be changed to normal RGB?

     
  • Amir Szekely

    Amir Szekely - 2007-05-13
    • assigned_to: nobody --> kichik
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2007-05-13

    Logged In: YES
    user_id=584402
    Originator: NO

    Thanks, fixed.

     

Log in to post a comment.