Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling object dropping on OLE/ActiveX controls...How?
Message
From
18/07/1997 20:11:03
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brazil
 
 
To
18/07/1997 19:50:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00040694
Message ID:
00040696
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform