>Does anyone know how to reference the item selected in a treeview?
>
>oleTreeView1.Click
> ThisForm.txtTreeSelect.Value =
>
>
>Thanks
John,
Look at the NodeClick property and try something like this:
IF THIS.SelectedItem.Index <> 1
THISFORM.cSelectedParent = TRIM(node.parent.text)
ELSE
THISFORM.cSelectedParent = THISFORM.cSelectedPart
ENDIF
HTH...Bob
Bob Tracy
Never engage in a battle of wits if you're only half armed.