Thanks for all the replies however it's not the inclusion of the listbox
table - that is most definitely there. And I can populate it as well.
The problem is trying to achieve the behavior corresponding to

<Control Id="FilledListbox" Type="ListBox" Sorted="yes"
Property="LISTBOXVALUES" X="10" Y="79" Width="200" Height="52">
   <ListBox Property="LISTBOXVALUES" />
      <ListItem Text="This is listitem1" Value="LI1" />
      <ListItem Text="This is listitem2" Value="LI2" />
   </ListBox>
</Control> 

but by using the wcautil.lib


Currently I'm using
WcaAddTempRecord(hTable, hColumns, L"ListBox", 0, 3, L"LISTBOXVALUES", 1,
L"Item 1");

Essentially copied from the tutorial on 
http://www.tramontana.co.hu/wix/lesson10.php
http://www.tramontana.co.hu/wix/lesson10.php 
This means that when a user selects "Item 1" the LISTBOXVALUES property is
set to "Item 1". What I would actually want it set to would be "1". Is there
any way to do this by using wcautil?
But I can't seem to find any documentation on wcautil.lib anywhere, so I'm
rather stuck it seems. 
-- 
View this message in context: 
http://www.nabble.com/Populating-Listbox-from-a-custom-action-tf4104235.html#a11684859
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to