UI ComboBox population
Posted: Fri Oct 13, 2006 4:11 pm
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.
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.