Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying An OleClass
Message
De
03/01/2017 16:11:35
 
 
À
03/01/2017 14:58:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01646275
Message ID:
01646285
Vues:
45
known issue…
.saveAsClass() maybe a workaround:
o = create('form')
o.addObject('vsflex_cursor', 'vsflex_cursor')
o.vsflex_cursor.saveAsClass('dummy.vcx', 'vsflex_cursor')
>So I have a class, vsflex_cursor of vsflex_lite.vcx that I want to copy. It is an OleClass.
>
>I want to copy (not subclass) it, with the usual way being:
>
>
>create classlib dummy
>add class vsflex_cursor of vsflex_lite to dummy
>
>
>What I get is "Object class is invalid for this container."
>
>This happens with all of OLE controls in the project.
>
>Is this known behavior? A Google search brought up irrelevant hits based on the error message (other issues).
>
>tia,
>
>Hank
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform