Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multitasking from VFP
Message
 
 
À
15/07/2004 16:37:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00924617
Message ID:
00924942
Vues:
27
>Houston,
>
>I kinda "get that". I will have to look at it a bit.
>
>Is the line: This.tmrDoTheWork.Interval supposed to be This.MyTimer.Interval?
>
>Thanks,
>John

No. The MyTimer is the class name, tmrDoTheWork is the instance name.

One can add properties to an object either as part of the class definition (done for you by V.F.P in the case of a VCX based class) or they can be added at runtime. Example of runtime addition:
This.AddObject("InstanceName", "ClassName" )
*- or
This.AddObject("tmrDoTheWork", "MyTimer" )
Note that AddObject() enables the use of This.Parent in the object that was added.
censored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform