General information
Category:
ActiveX controls in VFP
Hi Charlie.
>I'm working with the TreeView control for the first time. I see a node click event that responds to a single node click, but I don't see a double node click event. I want to run code off a child node that responds to a double click.
Use the DblClick event for the TreeView. The SelectedItem property of the TreeView will give you an object reference to the node the user double-clicked on. One caveat: double-clicking on a parent node causes it to expand or collapse, which you may not want. In the NodeClick event, save a property which indicates the current Expanded status of the node, then in DblClick, restore it to that status.
Doug
Previous
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