Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing an OCX
Message
From
21/01/2000 14:19:57
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00319745
Message ID:
00321061
Views:
25
>Yep, there is a difference. While were on the ActiveX subject, how can you move a class that is an ActiveX from one classlib to another? If you open up 2 instances of the class browser and try dragging from one to the other, you get "object not valid for this container" error or words to that effect. The only way I've found to do this is to open the form designer, drop the class on it, and then do a save-as-class to the new classlib. Surely there must be a better/easier way?

Man, I don't know, I've never tried that. I was going to tell you to use the project manager and drag and drop, but I tried it and it yields the same error. I guess the only way is to copy the class records from one vcx to the other using SCATTER/GATHER.

BTW, with your method, don't you just get a subclass of the original class?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform