Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview.SelectedItem
Message
From
11/03/2004 12:01:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Treeview.SelectedItem
Miscellaneous
Thread ID:
00885264
Message ID:
00885264
Views:
61
Hi All,

How can I determine if a node IS selected in a treeview control?

IF THIS.NODES.COUNT > 0
IF EMPTY(THIS.SELECTEDITEM.INDEX)
THIS.SELECTEDITEM = THIS.NODES(1)
ENDIF
ENDIF

The above sometimes crashes on the 2nd line. To me this indicates that nothing has been selected. How can I know this?

TIA
Mike

VFP 6 SP 5
Next
Reply
Map
View

Click here to load this message in the networking platform