Hi,

I created a dialog to display my EULA, and I'm using a text control pointing on
a rtf SourceFile. On the first tries, when using text directly in the XML,
everything worked perfectly fine. Now that I'm using a rtf file, the text
control is blank when the dialog is displayed (text is blank, control has no
border although it is specified as sunken, scroll bar arrows are not displayed,
I can only see the scroll bar itself). When I move my cursor on the top of the
scroll bar, the arrows appear. And to display the text, I must scroll the
text...

I really don't understand what's happening. The only thing I think of that could
explain this is the background image that has the logo on the left (but no
control over it) and blank for the most part where controls are located.

Thanks for your help...

Here is the XML description of the dialog :
<Dialog Id="EULA_Dialog" Width="370" Height="270" Title="[ProductName] [Setup]
EULA" NoMinimize="yes">
        <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234"
TabSkip="no" Text="[FinishBitmap]"/>
        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="372" 
Height="0"
TabSkip="no"/>
        <Control Id="AgreementText" Type="ScrollableText" X="135" Y="10" 
Width="220"
Height="175" Sunken="yes" TabSkip="yes">
                <Text SourceFile="$(var.RessourcesPath)\License.rtf"/>
        </Control>
        <Control Id="Buttons" Type="RadioButtonGroup" X="135" Y="190" 
Width="220"
Height="34" Property="IAgree" />
        <Control Id="Back" Type="PushButton" X="168" Y="243" Width="56" 
Height="17"
Text="[ButtonText_Back]">
          <Publish Event="NewDialog" Value="Welcome_Dialog" />
        </Control>
        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17"
Default="yes" Text="[ButtonText_Next]">
          <Publish Event="EndDialog" Value="Return"><![CDATA[IAgree =
"Yes"]]></Publish>
          <Condition Action="disable"><![CDATA[IAgree <> "Yes"]]></Condition>
          <Condition Action="enable"><![CDATA[IAgree = "Yes"]]></Condition>
        </Control>
        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" 
Height="17"
Cancel="yes" Text="[ButtonText_Cancel]">
          <Publish Event="SpawnDialog" Value="Cancel_Dialog">1</Publish>
        </Control>
</Dialog>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to