Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview
Message
From
05/08/1999 07:26:14
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
 
 
To
05/08/1999 06:48:30
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00250096
Message ID:
00250105
Views:
20
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform