zoukankan      html  css  js  c++  java
  • [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”,我当时没注意这个,弄了半天也搞不清楚为什么“自定义安装“与“修改安装”会叠在一起,而另一页不会。
  • 相关阅读:
    FreePbx
    ntpdate和date
    Linux系统/dev/mapper目录浅谈
    利用rsync做全平台备份
    windows 共享给 linux
    Linux、UNIX设置开机自动运行命令
    JNU周练1019
    JNU周练1013
    2013/7/30 JNU周练
    二叉树遍历
  • 原文地址:https://www.cnblogs.com/huqingyu/p/55240.html
Copyright © 2011-2022 走看看