I have a dialog for setting the connection string for SQL server with the
following code:

 

----------------------------------------------------------------------------
-------------------------------------

      <Dialog Id="DLG_SQLEXPRESS_CONNECT" Width="370" Height="270"
Title="!(loc.CommonDlgTitle)" KeepModeless="yes">

        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370"
Height="44" TabSkip="no" Text="!(loc.CommonTopDlgBitmap)" />

        <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370"
Height="0" />

        <Control Id="Title" Type="Text" X="20" Y="6" Width="278" Height="14"
Transparent="yes" NoPrefix="yes" Text="!(loc.DLG_SQLEXPRESS_CONNECT_Title)"
/>

        <Control Id="TitleDescription" Type="Text" X="20" Y="25" Width="310"
Height="18" Transparent="yes" NoPrefix="yes"
Text="!(loc.DLG_SQLEXPRESS_CONNECT_TitleDescription)" />

 

        <Control Id="ChooseDBServer" Type="Text" X="20" Y="52" Width="280"
Height="10" Text="!(loc.DLG_SQLEXPRESS_CONNECT_ChooseDBServer)" />

        <Control Id="ConnectUsingDB" Type="Text" X="20" Y="101" Width="332"
Height="21" Text="!(loc.DLG_SQLEXPRESS_CONNECT_ConnectUsingDB)" />

 

        <Control Id="ServersComboBox" Type="ComboBox" X="20" Y="75"
Width="270" Height="16" Property="SQL_INSTANCE">

          <ComboBox Property="SQL_INSTANCE">

            <ListItem Value="(local)" Text="(local)" />

          </ComboBox>

        </Control>

 

        <Control Type="RadioButtonGroup" Width="332" Height="47" X="21"
Y="128" Id="winauth" Property="SQL_AUTHTYPE">

          <RadioButtonGroup Property="SQL_AUTHTYPE">

            <RadioButton Text="!(loc.DLG_SQLEXPRESS_CONNECT_WindowsAuth)"
X="5" Y="5" Width="250" Height="15" Value="Windows" />

            <RadioButton Text="!(loc.DLG_SQLEXPRESS_CONNECT_SqlAuth)" X="5"
Y="27" Width="250" Height="15" Value="Sql" />

           </RadioButtonGroup>

        </Control>

        

        <Control Type="Text" Width="50" Height="12" X="15" Y="188"
Id="loginid" Text="!(loc.DLG_SQLEXPRESS_CONNECT_Login)">

          <Condition Action="enable"><![CDATA[SQL_AUTHTYPE <>
"Windows"]]></Condition>

          <Condition Action="disable"><![CDATA[SQL_AUTHTYPE =
"Windows"]]></Condition>

        </Control>

        <Control Type="Edit" Width="245" Height="15" X="71" Y="184" Id="sa"
Property="SQL_USERNAME">

          <Condition Action="enable"><![CDATA[SQL_AUTHTYPE <>
"Windows"]]></Condition>

          <Condition Action="disable"><![CDATA[SQL_AUTHTYPE =
"Windows"]]></Condition>

        </Control>

        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
Height="0" />

        <Control Type="Edit" Width="246" Height="15" X="71" Y="206"
Id="pswd" Property="SQL_PASSWORD" Password="yes">

          <Condition Action="enable"><![CDATA[SQL_AUTHTYPE <>
"Windows"]]></Condition>

          <Condition Action="disable"><![CDATA[SQL_AUTHTYPE =
"Windows"]]></Condition>

        </Control>

        <Control Type="Text" Width="50" Height="10" X="15" Y="210"
Id="password" Text="!(loc.DLG_SQLEXPRESS_CONNECT_Psw)">

          <Condition Action="enable"><![CDATA[SQL_AUTHTYPE <>
"Windows"]]></Condition>

          <Condition Action="disable"><![CDATA[SQL_AUTHTYPE =
"Windows"]]></Condition>

        </Control>

        

        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">

        </Control>

        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="!(loc.WixUIBack)" />

        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56"
Height="17" Cancel="yes" Text="!(loc.WixUICancel)">

          <Publish Event="SpawnDialog" Value="DLG_CANCEL">1</Publish>

        </Control>

      </Dialog>

----------------------------------------------------------------------------
----------------------------------------

 

The problem is in Edit control with attribute Password="yes". If CAPS LOCK
is ON and you start typing the password, you will see the popup message that
CAPS LOCK is ON. After this message disappear, some text on the dialog
disappears too. In my case disappears the text of RadioButtonGroup. If you
hold mouse over this text, it will be shown again. What may be the problem?

 

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to