Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why doesn't this work?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00214200
Message ID:
00214219
Vues:
17
Hi Scott ---

Hmm...are you sure about that object name, RICHTEXT.RichTextCtrl.1?

OK, try this. Create a classlib or modify an existing classlib and subclass the RTF control. Change your AddObject code to instance from the subclass. See it it works now.


>oForm=createobj("form")
>oForm.show()
>oForm.addobject("rtf","RICHTEXT.RichtextCtrl.1")
>
>This gives this error: Object class is invalid for this container
>
>Why can't I add an the rich-text editor on the fly? i can do it in design mode.
>
>Any Ideas?
>
>tia
>
>scott
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform