Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF Control and error 1744
Message
From
17/05/2005 13:46:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
RTF Control and error 1744
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01015006
Message ID:
01015006
Views:
56
All:

I created a class OC1, to which I added the RichTextControl, to OCRich2.vcx.

I added the following code to a .prg file.

SET CLASSLIB TO OCRich2
oRich = CREATEOBJECT('OC1')

and came up with error 1744, "Object class is invalid for this container error."

Is this because the RichTextControl can only be used in classes associated with forms? Is there a way to set up oRich = CREATEOBJECT('OC1') within a custom class?

Thanks in advance,

Ted
Next
Reply
Map
View

Click here to load this message in the networking platform