Forum Discussion

wen_nothom's avatar
wen_nothom
New Contributor
14 years ago

VB object -- List Selection --- List Item is not recognizable

I have a list selection in the application which is written in VB:



Sys["Process"](appName)["VBObject"]("frmSyReportSelection")["VBObject"]("ssTabSelection")["VBObject"]("SSPanel2")["VBObject"]("lstSelection")



There are 6 items in the lstSelection, however, none of the items is recognized as object



Is there any way to select the items from the list without using (x,y) accordinations? e.g.



var control;

control = ...;

control ["Click"](25,99);



Thanks,



~wen

3 Replies

  • wen_nothom's avatar
    wen_nothom
    New Contributor
    Thanks for your reply, Jared.



    However, this list box that sitting on the third party application does not have any ClickItem or SelectItem methods, it does has the method: Click(relative position, shfit keys), however, I am trying to avoid using x, y coordinations.



    Any further thought?



    Thanks,

    ~wen
  • Hi,


    Please tell me the control's name, version, and vendor. We'll try to help you with an appropriate suggestion. Providing us with a sample application that demonstrates the control is very helpful too. If there is a possibility to send us the sample, please submit us a message via the Contact Support web form, we'll give you a link for uploading the application.