Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop file on a form for app to save it
Message
From
18/03/2018 18:31:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01658695
Message ID:
01658801
Views:
47
>Hi,
>
>I am working on the code that was kindly submitted by Antonio and Yousfi. And I want to confirm that my understanding of how it works is correct, of the following.
>
>If the method OLEDragDrop of the Form has code (that process the dropped file), this method only fires when a file/dropped on the "not used" area of the form (that is the area of the form which has not textboxes, labels, etc?
>That is, if you drop a file on a textbox or a container on the form, the method does not fired (as if the textbox or a container is "blocking" the drop event). Is this correct?

Yes, it is.

If you want to / need to, you may set the control's OleDropMode property to 2, in which case the Drag&Drop processing passes to the container (in your example, from the textbox to the form).
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform