Thanks Bob.

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 30 January 2008 15:46
To: Ryan O'Neill
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Possible bug with ICE31

 

Ryan O'Neill wrote: 

        <Control Id="blah" Type="Edit" X="1" Y="1" Width="20" Height="16"
Property="MyProp" Text="{48}{\TS_MS_Sans_Serif_9}" TabSkip="no" Sunken="yes"
/>

 

This can be worked around by swapping the style and the text length
delimiter around. The MSI still works as expected but the warning goes away.

 

        <Control Id="blah" Type="Edit" X="1" Y="1" Width="20" Height="16"
Property="MyProp" Text="{\TS_MS_Sans_Serif_9}{48}" TabSkip="no" Sunken="yes"
/>


The doc for Edit control says:

To specify the number of characters the user can enter, append {n} after any
font specifications. Where n is a positive integer.

So ICE31 is correct to warn about it, even if a prepended length happens to
work, it's not documented.

-- 
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
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