Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Checkpoint for SWT java tree with buttons in second column    (Read 484 times)
msoren01
User
*
Offline Offline

Posts: 1


« on: February 23, 2010, 06:30:07 AM »

Does anyone know how to get checkpoints working for SWT java trees with multiple columns where the second column contains objects.
The checkpoint always fails to compare the second column. I can only assume that it is because it contains an object itself rather than straight text.
I have attached a screen shot of my dialog.

I can't seem to access the RO methods either of the tree.

I also am getting an error when I try:
JavaWindow("PSSuniversal Configurator").JavaWindow("Configure Module Parameters").JavaTree("1 - PSSu E S 2AI U").GetColumnValue("#0", "#0")
I get:
The statement contains one or more invalid function arguments.

But if I use:
val = JavaWindow("PSSuniversal Configurator").JavaWindow("Configure Module Parameters").JavaTree("1 - PSSu E S 2AI U").GetColumnValue("#0", "")

Then I get only the first column's text as a result for val - "Range selection"

I appreciate any help with this.
I was thinking of trying to use RegisterUserFunc and override GetColumnValue but I suspect this will also fail.
Logged
Pages: [1]   Go Up
Print
Jump to: