但是,除非用户已经滚动到ScrollableText控件的底部(即他们阅读了许可协议),否则我也想禁用该按钮。我还没有想办法做到这一点。预先感谢您提供任何提示!
<Control Id="NextButton" Type="PushButton" X="300" Y="261" Width="66" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Continue >" TabSkip="no" Default="yes">
<Condition Action="disable">EulaForm_Property<>"Yes"</Condition>
<Condition Action="enable">EulaForm_Property="Yes"</Condition>
<Publish Event="EndDialog" Value="Return">EulaForm_NextArgs=""</Publish>
<Publish Event="NewDialog" Value="[EulaForm_NextArgs]">EulaForm_NextArgs<>""</Publish>
<Subscribe Event="EulaEvent" Attribute="Enabled" />
</Control>