Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop
Message
From
05/05/2005 18:55:21
Fabian Borghi
Xenon Information Technology
Itaparica, Brazil
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Drag and Drop
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01011467
Message ID:
01011467
Views:
70
Hello everybody:

I can't make a drag and drop in a image, when i put set step on in a drag method the drag function well, but if i don't put set step, the drag don't function, what happend?

The DragMode is set to Automatic but if i change to manual the drag don't fuction

Drag Method:
LPARAMETERS nAction
SET STEP ON
IF nAction = 2
thisform.image1.Move(x_top,x_left,10,10)
endif

DragDrop Method:
LPARAMETERS oSource, nXCoord, nYCoord
PUBLIC x_top,x_left
x_top = nXCoord
x_left = nyCoord
thisform.image1.Drag(2)

DragOver Method:
LPARAMETERS oSource, nXCoord, nYCoord, nState
thisform.image1.Drag(1)

Thanks in advance !!!
Fabian A. Borghi
Xenon Information Technology
Itaparica - BA - Brasil
Next
Reply
Map
View

Click here to load this message in the networking platform