Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

how to support SysTreeView32 as a grid

$
0
0

TC10.30

Windows7

JavaRCP application,  widget is SysTreeView32. However there are grid lines, showing it as Grid in UI, there is actually no Root item.

1. SWTObject("Tree", "").getColumnCount

2. SWTObject("Tree", "").getItemCount, this is similar to rowCount
3. SWTObject("Tree", "").columns.Items(0).text, gives the first column name
4. SWTObject("Tree", "").items.Items(0).strings.Items(3).OleValue . gives the cell text of First Row and Fourth column
 not be able to click on cell, since there are no "Bounds" properties to build a rectangle.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 21061

Trending Articles