|
| Programmed Drag & Drop WD v22 |
| Iniciado por tony.turner, 04,ago. 2017 10:17 - 1 respuesta |
| |
| | | |
|
| |
| Publicado el 04,agosto 2017 - 10:17 |
Hi
I want to drag 2 buttons onto a transparent image 600x600 using programmed drag and drop.
I can see when I drag the button I see the cursor but it never Drops on the image.
None of the events fire on the image as I try to trace them. The button event does fire.
Ignoring the second button, the code on the first is:
BTN_Play_Intro..DndSource = dndProgram
DnDEvent(OnStartDrag,BTN_Play_Intro,dndBeginDrag)
IMG_Drop..DndTarget = dndProgram
DnDEvent(Rollover,IMG_Drop,dndBeginDrag)
DnDEvent("Drop", IMG_Drop, dndDrop)
Procedure Drop() Trace("Drop") DnDAccept(dndMove)
Procedure OnStartDrag() Trace("OnStartDrag") DnDCursor(dndMove)
Procedure Rollover() Trace("Rollover") DnDCursor(dndMove)
So I can't make it work which is a bit frustrating, ultimately I will drop and move lots of buttons on the image and use the wire control to connect them but need to get Drag & Drop working first.
Many Thanks in advance for your help.
Tony |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 4 mensajes |
|
| Publicado el 05,agosto 2017 - 09:30 |
Anyone have any simple example of programmed drag and drop on one object onto an image ?
Thank you
tony |
| |
| |
| | | |
|
| | | | |
| | |
|