pavan_manikonda
11 years agoOccasional Contributor
[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 ??
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 ??