Page 1 of 1

turning off ability to drag or reorder nodes

Posted: Thu Feb 06, 2014 2:06 am
by jameshale
What property turns of the ability to drag nodes around?
Its a brilliant feature but I don't want it in my application.

Re: turning off ability to drag or reorder nodes

Posted: Thu Feb 06, 2014 10:44 pm
by wilstrand
Hi James!

There is no setting to turn the drag and drop off. So you have to trap the dragStart message in the rTree group script:

Code: Select all

on dragStart
   # Trap
end dragStart
Kind regards
Mats

Re: turning off ability to drag or reorder nodes

Posted: Thu Feb 06, 2014 10:56 pm
by jameshale
Ah ah, simple.

Thanks