Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview & windows explorer
Message
From
21/02/2017 05:54:14
 
 
To
21/02/2017 04:28:40
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01648235
Message ID:
01648263
Views:
40
Hi Dragan
treeview oledragdrop is specific and not very used in vfp.its also not very documented or decored by specific examples.
even googling i found anything interesting.
this is a test i made to oledragdrop from explorer to treeview (an to a textbox) see the zip attached.
i added a textbox:
-the oledragdrop from textbox to treeview works fine and its dropped in treeview in function position (x,y)
if (x,y) in the node, the text dropped is added as tree child
if (x,y) is out of the node it added as main root.

-the oledragdrop from explorer to textbox works also fine but i made it to retain only 1 element dragged (the first)

-the oledragdrop from explorer to treeview works with odataobject.getformat(15) as list of files.
it return erros in odataObject.getformat(15,@afiles) afiles is an array containing the list of files dropped.

note if added a listbox this works as well with listing all files selecte/oledropped without any error on oDatObject.getformat(15,afiles)

i see dark !
test the form and give me you or anyone gentleman else your feedbacks please !
thank you.


.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform