Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF control can't be added to a classlib
Message
From
25/10/2007 11:05:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
25/10/2007 10:53:40
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01250150
Message ID:
01263601
Views:
12
>>I've subclassed the RTF box 6.0 SP2 (IIRC) as olecontrol. Worked fine, as usual.
>>
>>Then I needed it in another project, and simply wanted to do ADD CLASS myrtf of mylib to \path\otherlib. I got an error sayin "class invalid for this container", which is an error you get when you want to, say, add a toolbar to a container, or a formset to a form.
>>
>>OK, no big deal, the class had no more than ten properties non-default and no code at all, so it was quite easy to recreate. Still, it bugs me that something like this should happen.
>>
>>Anyone with similar cases, or at least to confirm this?
>I have the same with another ActiveX.
>Have you solved it?

Got a confirmation from Sergey that subclassed ActiveXes can't be moved around between classes by simple Add Class. May be done by hacking, though.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform