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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent node drag in TreeViewAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

5356 Jun 30,2003 07:44 PM UTC May 8,2004 10:50 PM UTC WinForms 5
loading
Tags: Tools
Sean Greer
Asked On June 30, 2003 07:44 PM UTC

First of all, thanks for the TreeViewAdv, it's a really nice control as it is, and I'm sure it will keep getting better. Question: how can I prevent the dragging of nodes within the control? I seem to be missing the AllowDrag property (or something like that). I don't want the user to be able to rearrange nodes, and with out a property on the control or a cancelable event (BeforeDrag), I can't see how to prevent that. Another thing that would be cool: I'm using the right images as indicators and I'd like to associate tip text with each image. Any quick pointers on how (or if) this can be done? Sean

Neal Granroth
Replied On July 1, 2003 12:51 PM UTC

> Question: how can I prevent the dragging of nodes within the control? - Implement a handler for the QueryContinueDrag event. - Within it, set e.Action = Drag.Cancel Hope this helps. Neal

Todd Armstrong
Replied On January 27, 2004 02:05 AM UTC

Where does the Drag.Cancel come from. I don''t have a reference to it and want to do the same thing. > >> Question: how can I prevent the dragging of nodes within the control? > >- Implement a handler for the QueryContinueDrag event. > >- Within it, set e.Action = Drag.Cancel > > >Hope this helps. >Neal

Todd Armstrong
Replied On January 27, 2004 02:14 AM UTC

I figured it out. It should be: e.Action = DragAction.Cancel; >Where does the Drag.Cancel come from. I don''t have a reference to it and want to do the same thing. > >> >>> Question: how can I prevent the dragging of nodes within the control? >> >>- Implement a handler for the QueryContinueDrag event. >> >>- Within it, set e.Action = Drag.Cancel >> >> >>Hope this helps. >>Neal

Jack Rubin
Replied On May 8, 2004 10:47 PM UTC

Please contact me regarding H8 emulators (Dave x2). Thanks!

Jack Rubin
Replied On May 8, 2004 10:50 PM UTC

In case the subject of the prior msg is not displayed, this note is to Neal Granroth. >Please contact me regarding H8 emulators (Dave x2). Thanks! Jack Rubin www.sebhc.org

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;