Innovate or Go Home

Naveen Ajmal, Mohammed
posts - 2, comments - 2, trackbacks - 1

My Links

News

Article Categories

Archives

.Net Community Sites

Monday, January 05, 2009

WIX - Dialogs with Radio Buttons

Creating dialog box controls with Radio Buttons would allow the user to make choices during the installation and could be used to control the flow or the behaviour. Here is a sample code snippet to render radio buttons in WIX. It uses the RadioButtonGroup and the RadioButton element  from the WIX schema.

<Control Id="RadioButtonGroupID" Type="RadioButtonGroup" X="30" Y="94" Width="305" Height="100" Property=" VARIABLETOSTORESTATE " Text="This is My Group">

<RadioButtonGroup Property="VARIABLETOSTORESTATE">

<RadioButton Value="1" X="0" Y="0" Width="200" Height="10" Text="State 1" />

<RadioButton Value="2" X="0" Y="20" Width="200" Height="10" Text="State 2" />

      </RadioButtonGroup>

</Control>

posted @ Monday, January 05, 2009 4:47 AM | Feedback (1) |

Powered by: