Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Drag&Drop management
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00851333
Message ID:
00852002
Vues:
9
Hi Mario,

Cetin just gave you the perfect sample that you probably can use right away.
On my part, I will try to implement the required OLEDRAGDROP functionality into GridDragDropper (using VFP 8). The general idea is that neither Treeview, nor grid code should be changed to implement that functionality (or require minimal changes)- something similar to the way GridDragDropper works with the conventional Drag&Drop.

>Hi Nick! Thanks for your reply!
>
>This is my scenario:
>
>in a form there are a treeview and a grid:
>
>a) the treeview manage OLE inside it and dragdrop his own elements and nodes between it.(I know how treeview's OLE works)
>
>b) the grid has a cursor SQL that show data linked at the element of treeview when it change.
>
>PROBLEM) I need to drop the value dragged FROM the grid inside the treeview...
>
>so, how I can move the value of a row or a cell (however, taking the code field from the record of the cursor...) inside the treeview ?
>(after, I know how to write code inside TreeView when dragdrop is completed!)
>
>I need (I think!) the code inside THE GRID's event:
>- OLEDrag
>- OLEDragDrop
>- OLEDragOver
>to activate drag&drop vs treeview...
>
>Thanks for your time, your help his very important!
>Mario
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform