Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling object dropping on OLE/ActiveX controls...How?
Message
De
18/07/1997 20:11:03
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
 
 
À
18/07/1997 19:50:50
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00040694
Message ID:
00040696
Vues:
24
>I am using the RichText control, trying to disable it. Setting Enabled to .F. just prevents the user from editing the text; they can still drop objects in (even with OLEDragMode and OLEDropMode set to 0)...
>I tried to override the OLEDragOver event, but when I try and set effect=0, I get an OLE error - Bad Variable Type... I think the parameters are being passed by reference rather than by value...
>Anyone know how to COMPLETELY disable this control?
>
>Gino

Hi Gino,

If I remember well, there's another property called LOCKED that should do a better job than ENABLED...

HTH,

Renato
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform