Have you tried Bindevent? Something like
BindEvent(this.yourTreeview,"RightClick" ,this.yourTreeview,"Click")
>I have the following properties set for the treeview:
>
>Style: 7
>Mousepointer: 0
>Linestyle: 0
>LabelEdit: 1
>ImageList:
>Borderstyle: 0
>Appearance: 1
>OLEDragMode: 0
>OLEDropMode: 0
>Indentation: 10
>PathSeparator: \
>HideSelection: F
>Sorted: F
>FullRowSelect: F
>Enabled: T
>Checkboxes: F
>SingleSel: F
>Scroll: T
>HotTracking: F
>
>I do not get any node expansion on the treeview with the right-click (left-click only).