I'm writing an E4 application with drag dropping of parts. Now I need to disable drag and drop on one part. So that part need always be on that part stack.
Is their some solution for this. I searched already on the internet to a solution but found only "IPresentationEngine.NO_MOVE" but that doesn't work on the part.
IPresentationEngine.NO_MOVE is the correct thing to use.
IPresentationEngine.NO_MOVE is a string with the value
NoMove. To stop a part being moved you add that string to the Tags second of the part description in your Application.e4xmi file.
You can also set the tag programmatically if you want to turn this on or off.