Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active-X Controls On Containers?
Message
From
06/03/1998 18:24:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00083030
Message ID:
00083157
Views:
27
Oops, I misread your message. I read it now and I remember I had the same problem a few months ago. The only good solution I found was to use a Form instead of a simple container.

Another solution is to have a property that holds a reference to the ActiveX object. You create the object using:

This.MyActiveX = CreateObject( "MyControl.MyControlCtrl.1")

where MyControl.MyControlCtrl.1 is the ProgID registry key found under the ActiveX classid registration. This works with any type of class, not only containers. But this is not so "natural".

Vlad


>Yes, but custom is not a container so you aren't able to add an ole control to it...
Previous
Reply
Map
View

Click here to load this message in the networking platform