Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another try, classes
Message
De
30/06/2004 19:57:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00919427
Message ID:
00919444
Vues:
13
>How can I prevent the hello class from executing in line 2?
>SET CLASSLIB TO C:\page0\pager && line 1
>oPager = newOBJECT("hello") && line 2
>oPager.init && line 3
>
>Thanks
>Steve

You don't need to call the .Init() code at all, it will automatically happen when you do the CREATEOBJECT() (or NEWOBJECT() commands), that's when your class is instanciated (inited).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform