General information
Category:
ActiveX controls in VFP
Title:
RTF Control and error 1744
Environment versions
Network:
Windows 2003 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only