Question
Drag and drop - Cp8
Hello, I'm trying to simulate a drag and drop activity in a software simulation using Cp 8.0.1.242
I have a few issues!
- In the app I'm simulating the source object actually stays in position, and what's dragged is instead an icon representing it that appears at the point the user starts to drag. So I need to find a way to hide the dragged object until the drag action starts. Or change its appearance at the point the drag starts.
- The icon that is dragged is a fixed size and shape but the source object could be a totally different size and shape, so I need to position the dragged object at the cursor point when the drag action starts.
- When the user drags the icon over the target area, a highlight should appear. When the user moves the icon away it disappears. And reappears when the user again moves over the target. I can easily make the highlight appear when the mouse is released, but I can't find a way to show/hide the highlight while the drag is still going on before the mouse is released.
Can anyone help?
Thank you!
