Forum Discussion

bkeefe's avatar
15 years ago

wItemList returns list separator not caption name

I am trying to retrieve the values of a combobox but all I get returned from wItemList is the separator values, not the actual captions.  Control is System.Windows.Controls.ComboBox, WPFObject.  WPF application running in TC 8.0 with all plug-ins installed.  I am using FindChild to locate the combobox and then wItemList to get the names of the contents.  The right number is returned but I cant get the name, wItemList displays as |||||| through the Object Spy.

Thanks
  • Hi,



    Try using native properties of your control to access its items. The approach is the same you'd use inside your application to access them.