Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDropMode on RichText ActiveX control - what it really
Message
De
21/07/1997 10:59:30
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
 
 
À
18/07/1997 19:53:44
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00040695
Message ID:
00040927
Vues:
27
>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
Fil
Voir

Click here to load this message in the networking platform