View Single Post
Old 8th July 2009, 15:35   #2
Major Dude
Join Date: Feb 2007
Posts: 672
To check a checkbox use
${NSD_Check} $R0
To disable a control use
${NSD_AddStyle} $R0 ${WS_DISABLED}
To be able to enable the checkbox later, use a global variable instead of $R0, and then use
EnableWindow $MyCheckBox 1 ; 0 = disabled, 1 = enabled
to enable the checkbox.

Do you mean to check all radiobuttons at the same time?
That's against the nature of a radiobutton.
You can use
${NSD_Check} $R1
on all radiobuttons to have them all selected at the same time.
But as soon as you select one of them, the rest will become unchecked.

Please read the nsDialogs documentation, it's all there:

jpderuiter is offline   Reply With Quote