General information
Category:
ActiveX controls in VFP
Title:
Treeview.SelectedItem
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only