Forum Discussion

syedhasan's avatar
13 years ago

Accessing dropdowns within Powerbuilder DataWindow control.

I am currently in the process of automating a legacy Powerbuilder application. I have added the "pbdw*" and "*"  window classes to the list of accepted MSAA windows, which gives me access to most of the controls in the DataWindow, but not the DropDown control or the ComboBox control.



The control is identified as DropDown or ComboBox,and has only one child ListItem. I donot see a SelectedItem value nor am able to get a list of all the child ListItems. Is there a solution  for this?



I have attached a screenshot of the Object browser window to show what I mean. 



Thanks in advance.






  • I am facing same problem.DropDown or ComboBox child items are not accessible. Even I tried with enabling "Show hidden member"
    • umer_chaudhary's avatar
      umer_chaudhary
      Occasional Contributor

      Hi, I'm having exact same problem with Desktop based powerBuilder application

       

      I dont have any clickitem or settext function exposed to edit value for comboboxes or dropdowns within datawindow.

       

      Anybody has any solutions?

      • russelld's avatar
        russelld
        Contributor

        Hi, Just wondering if you ever got this issue figured out? Thanks