Forum Discussion

pavan_manikonda's avatar
pavan_manikonda
Occasional Contributor
11 years ago

[Extending TestComplete]Adding dropdown list items

Hello,



I am adding a new toolbar with a dropdown list of elements. I have created a new dropdown using createEmptyAction method with 'atDropDown' as the first paramter. Now I want to add some list elements to this dropdown. I am trying to set the property 'apDDItemsList'. What should be the value that I should set to this property. ?



I have created a SAFEARRAY* with vartype 'VT_BSTR' and added two elements. When I use this objects as the value for property apDDItemsList it is throwing a null excpetion.



Any ideas ??
No RepliesBe the first to reply