Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Cetin, THANKS for your example, but I need the code of the grid that drag&drop INTO TreeView.
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 change.
PROBLEM) I need to drop the value dragged FROM the grid inside the treeview...
so, how I can move the value 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...
However your example is very good for study OLE events!! thanks again
Mario
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement