Hi,

I'm trying to use a combobox on a dialog with the following code:

        <Control Id='cmbLocale' Type='ComboBox' X='122' Y='91'
Width='100' Height='13' Property='SET_LOCALE'>
          <ComboBox Property='SET_LOCALE'>
            <ListItem Text='English (UK)' Value='en-uk' />
            <ListItem Text='English (USA)' Value='en-us' />
            <ListItem Text='French (France)' Value='fr-fr' />
            <ListItem Text='Portuguese (Brazil)' Value='pt-br' />
            <ListItem Text='Spanish (Mexico)' Value='sp-mx' />
          </ComboBox>
        </Control>

Now, the way I interpret this is that if ListItem 2 is selected (the US
English one), then the combobox display text should be 'English (USA)'
and the value of SET_LOCALE should be 'en-us'.  Is this correct?  What
is actually happening is that the combobox display text and the value of
SET_LOCALE are both 'en-us'.  I must be doing something wrong but I
can't see it.  If this is the correct behavior, then what is the point
of the 'text' attribute on the ListItem?

Thanks,
Kevin

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to