Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tree View Structure
#3
I used Find Accessible Object dialog which produced following line:

Acc a=acc("" "CLIENT" "Buy from Search" "TreeView20WndClass" "" 0x1000)

So my macro is:

Acc a=acc("" "CLIENT" "Buy from Search" "TreeView20WndClass" "" 0x1000)
Acc a1
str s ss
a.Navigate("f" a1) ;;first item
rep
s=a1.Name
ss=a1.Value
ss.set(9 0 val(ss))
out "%s%s" ss s
a1.Navigate("n"); err break

However, when I run the macro, it fails with "Error (RT) in TreeViewDirect: failed" with the cursor at the beginning of the a.Navigate line.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)