Archive: Tnx


How to Checkbox
Sorry for the subject something went wrong and i coulnd delete it.

This is hard for me to explain but i try,

I have a checkbox when the data checked or not checked (0, or 1) it sends the 0 or 1 to write an regstring.

But can it be changed to text so when the checkbox is set it sends for example >just a text
And when its not set >none text

In the ini file i can change the state (state=0) to 'a text' but i dont know how to fix that when the check box is checked not a 1 appears but text.

I hope it wasnt to bad

(when someone is dutch, i can post it in dutch)

Sebas


StrCmp $INIVALUE "0" 0 +2
WriteRegStr HKLM "bla" "bla" "some text for 0"

StrCmp $INIVALUE "1" 0 +2
WriteRegStr HKLM "bla" "bla" "some text for 1"