Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag a Textbox in Runtime
Message
From
04/10/2008 13:05:34
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
04/10/2008 12:32:28
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352782
Message ID:
01352783
Views:
49
This message has been marked as the solution to the initial question of the thread.
Hi Jon,

I simple sample:
- Put a textbox into form and set DragMode property to "1 - Automatic Drag".
- Put a code below into form's DragDrop method:
oSource.Left = nXCoord
oSource.Top = nYCoord
Good Luck!


>Hi All,
>
>I have been playing with the drag and drop sample, but I cant get it working for textbox controls. I have exactly the same code behind a label and command button and it works fine but it just doesnt work for a textbox. Can some one point in me the right direction?
>
>Thanks
>
>Jon
Erick
Força Sempre!
Strength Always!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform