当我在MSI对话框中的单选按钮之间切换时如何重设编辑字段

我对wix工具集和Windows安装程序非常陌生,并且如下所示为我的MSI设计了自定义对话框。

当我在MSI对话框中的单选按钮之间切换时如何重设编辑字段

我有两个单选按钮A和B,两个单选按钮都与相同的编辑字段相关联,如果我选择第一个单选按钮并在用户名和密码字段中输入一些数据,然后决定切换到第二个单选按钮,我想用户名和密码字段可以重置为空白吗?

code:


<Control Id="PathLabel_UName" Type="Text" X="15" Y="115" Width="80" Height="20" Text="!(loc.***)" />
                <Control Id="PathLabel_UName" Type="Text" X="15" Y="165" Width="80" Height="20" Text="***" />

                
                <Control Id="PathLabel_PWord" Type="Text" X="15" Y="140" Width="80" Height="20" Text="!(loc.***)" >
                    
                </Control>
                <Control Id="PathEdit_PWord" Type="Edit" X="65" Y="140" Width="110" Height="20" Password="yes" Property="****" >
                
                
                    
                </Control>
                <Control Id="PathLabel_Uname" Type="Edit" X="65" Y="165" Width="110" Height="20" Property="*****" >
                
                 
                </Control>
                

                
               <Control Id="InstallTypeRadio" Property="A1" Type="RadioButtonGroup" X="5" Y="45" Height="60" Width="290" />
                <Control Id="Icon" Type="Icon" X="15" Y="210" Width="10" Height="12" Text="InfoIcon" IconSize="16" FixedSize="yes" Disabled="yes">
            
                </Control>
                
                <RadioButtonGroup Property="SA">
                <RadioButton Value="1" X="5" Y="35" Height="12" Width="90" Text="!(loc.***)" />
                <RadioButton Value="2" X="100" Y="35" Height="12" Width="90" Text="!(loc.***)" />
           </RadioButtonGroup> 
            
iCMS 回答:当我在MSI对话框中的单选按钮之间切换时如何重设编辑字段

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/1513025.html

大家都在问