>This property can be a bit elusive at first. Here is what I've found it to do:
>
>Here's what the documentation SHOULD have said:
>
>OLEDropMode:
> 0 - Adds the file dropped and opens it
> 1 - Does nothing
> 2 - Just adds the dropped file
>
>Thanks,
>Gino
Hi!
The Help files about these topics also didn't help me so much. Besides, many of them are related to VB help files. If you don't have VB installed into your machine it'll be even more difficult to get information. If this is your case, that's what it says:
***
OLEDropMode:
Returns or sets how a target component handles drop operations.
Settings
Value Description
0 ->(Default) None. The target component does not accept OLE drops and displays the No Drop cursor.
1 -> Manual. The target component triggers the OLE drop events, allowing the programmer to handle the OLE drop operation in code.
2 -> Automatic. The target component automatically accepts OLE drops if the DataObject object contains data in a format it recognizes. No mouse or OLE drag/drop events on the target will occur when OLEDropMode is set to 2.
***
Before I forget, this property is also related to Drag&Drop operations with pieces of text within the RichText, and between the RichText and a Word document, for example. (At least using the version included with Vfp 5.0a)
Renato
Précédent
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