code:
for(var i=0; i<listbackground.length; i++){
cwnd_Background.Combo_AddItem('lstBgURL', listbackground[i], parseInt(numbackground[i]));
Debug.Trace('parse= '+parseInt(numbackground[i]));
Debug.Trace('data= '+cwnd_Background.Combo_GetItemData('lstBgURL', i));
}
makes the following output:
code:
parse= 2
data= 0
parse= 3
data= 0
parse= 4
data= 0
In theory, each parse and data pair should be equal. Somethings wrong with the Combo_AddItem part I'm guessing?