好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

Text控件显示

[Wix] Text控件显示

  <Control Id="DlgTitle" Type="Text" X="10" Y="5" Width="292" Height="25" Hidden="yes" Transparent="yes">
   <Text>{\MSSansBold10}自定义安装</Text>
   <Condition Action=" show ">ProgressType0 = "Install"</Condition>
  </Control>
  <Control Id="DlgTitle2" Type="Text" X="10" Y="5" Width="292" Height="25" Hidden="yes" Transparent="yes">
   <Text>{\MSSansBold10}修改安装</Text>
   <Condition Action=" show ">ProgressType0 = "Modify"</Condition>
  </Control>

等价于:
  <Control Id="DlgTitle" Type="Text" X="10" Y="5" Width="292" Height="25" Transparent="yes">
   <Text>{\MSSansBold10}自定义安装</Text>
   <Condition Action=" hide ">ProgressType0  &lt;&gt; "Install"</Condition>
  </Control>
  <Control Id="DlgTitle2" Type="Text" X="10" Y="5" Width="292" Height="25" Transparent="yes">
   <Text>{\MSSansBold10}修改安装</Text>
   <Condition Action=" hide ">ProgressType0 &lt;&gt; "Modify"</Condition>
  </Control>

注意红色的地方,特别是:Hidden=”yes”,我当时没注意这个,弄了半天也搞不清楚为什么“自定义安装“与“修改安装”会叠在一起,而另一页不会。

查看更多关于Text控件显示的详细内容...

  阅读:40次