Forum Discussion

yingkai1208's avatar
yingkai1208
Contributor
12 years ago

Click an item in a treeview which is off the screen

Hi, I want to click an item in a tree which is off the screen. I remember previously I could use treeview.ClickItem(50) to click the 50th item. But today, an error occurs when I do the same operation.  So could any one give me some help regarding Click an item in a treeview which is off the screen. Thanks in advanced.     Kai
  • sastowe's avatar
    sastowe
    Super Contributor
    What error are you receiving? I think that even if clicking something by index it needs to be visible on screen to click. Can you move objects to make the item visible?
  • chicks's avatar
    chicks
    Regular Contributor
    I started to experiment with a similar problem. You might try hovering the mouse over the item before clicking it.....