We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

TreeViewAdv - cannot disable drag of tree nodes

Does anyone know how to disable the "feature" that allows the end user to reconfigure the displayed tree by clicking on a node and dragging it to another location within the displayed tree? There does not appear to be a TreeViewAdv or TreeNodeAdv property allowing me to lock the displayed tree so it matches an external, fixed, data structure.

1 Reply

NG Neal Granroth June 25, 2003 02:03 PM UTC

Ah, found it. For anyone who needs to know: - Implement a handler for the QueryContinueDrag event. - Within it, set e.Action = Drag.Cancel

Loader.
Live Chat Icon For mobile
Up arrow icon