Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_SCREEN not support ole objects
Message
De
29/04/2003 13:20:20
 
 
À
29/04/2003 11:59:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00781073
Message ID:
00782821
Vues:
10
Hello, Fabio.

>I have build this class:
> Container
> OleControl(ImageList ActiveX)
>I can instance an object for this Class:
> varobject, _SCREEN.property or _SCREEN.object
>but for class OleControl(ImageList ActiveX) I can't do never of these actions.

I may be missing something... look, I just tried out this piece of code, and it runs like a charm:
_Screen.AddObject("blah", "test")
MessageBox(_Screen.Blah.Name)

Define Class test As Container

	Name = "MyTest"

	Add Object olecontrol1 As OleControl With ;
		Name = "Olecontrol1",;
		OLEClass = "MSComctlLib.ImageListCtrl.2"


Enddefine
It is a class based on "container", with an ActiveX ImagaList inside it... isn't that what you have?
Claudio Lassala
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform