version compare
this can be used in sections, i need it in an function. is there another idea?
6 posts
Function bla
...
${VersionCompare} Version "7.0" $R0
Strcmp $R0 0 color_nored 0
Strcmp $R0 1 color_nored 0
Strcmp $R0 2 color_red 0
color_red:
pop $HWND
pop $R0
GetDlgItem $R0 $HWND 1204 ;1200 + Field # - 1
SetCtlColors $R0 FF0000 transparent
color_nored:
...
FunctionEnd