Forum Discussion

syedhasan's avatar
syedhasan
Not applicable
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.






8 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Syed,



    Maybe enabling the Tools | Options | Engines | General | Show hidden members option will help you find the target methods/properties to iterate through child items.



    Is there anybody who is testing PowerBuilder apps? Have you faced a similar task? Feel free to share your solution with us.
  • archana_2's avatar
    archana_2
    Not applicable
    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