Is there a way to populate a combobox with an array of values?
Basically I want to be able to programatically set the ComboBox's Items property.
I tried creating a hidden control to set the Items property to an edit controls text property (which I initially tried formatting as a comma seperated string - I'm not really sure how the TComboBoxList works) but I am getting "Invalid property" value when I try to test the dialog box.
Any help is appreciated.
UI ComboBox population
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Set the Items property of the ComboBox to a variable - a single line, and a variable like $VAR$ on that single line.
Then in your script, set $VAR$ to something like Item1$NEWLINE$Item2$NEWLINE$ItemLast.
Then in your script, set $VAR$ to something like Item1$NEWLINE$Item2$NEWLINE$ItemLast.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: Google [Bot] and 26 guests