Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting listitem when not visible in window
#1
Greetings,

I am able to obtain an item as a listitem when using the find accessible object dialogue.

However, this item is not visible on the client software window unless the scroll bar is dragged to a certain level, which again varies from user to user.
How do I go about selecting this or double clicking this item?
I tried 'invisible' and 'useless' but in vain.

Thanks,
Philip
Best Regards,
Philip
#2
Which of the following statements is true?
1. The Test button does not find the item when it is invisible. And the Find function does not find it too.
2. Can find the item, but don't know how to scroll the list to make the item visible.

What is the class name of the list control?
#3
1st statement is true.
2nd statement is true when not using invisible.

Macro NC VCC Release
Code:
Copy      Help
Acc a8.Find(w2 "LISTITEM" "VC1 VCC Release Report" "class=ListBox_Class[]id=26683" 0x1035 10)
a8.Mouse(4)
Best Regards,
Philip
#4
Try a8.Select(3), a8.Select(2), a8.Select(1) and a8.DoDefaultAction.
#5
Thanks Gintaras.
As usual, your solutions are quick and perfect.
Best Regards,
Philip


Forum Jump:


Users browsing this thread: 4 Guest(s)