Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help me hide my exe know how?
Message
De
13/10/2000 17:22:26
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00428489
Message ID:
00429408
Vues:
16
>>But we can ALL easily inherit Jim's qualities, though we may never catch up to his knowledge because he has a head start.
>>DEFINE CLASS JimB AS CUSTOM
>>    AlwaysLearning = .T.
>>    *!* More properties here
>>    FUNCTION GetNewKnowledge
>>        *!* Secret code here
>>    ENDFUNC
>>ENDDEFINE
>>
>>*!* Note how VFP's full inheritance plays here
>>oCindy = CREATEOBJECT("JimB")
>>oCindy.GetNewKnowledge()
>>oDoug  = CREATEOBJECT("JimB")
>>oDoug.GetNewKnowledge()
>
>To speed things up, you could run your native oCindy object with GetNewKnowlege() method and use VFPCOM BindEvents(oCindy, oJimB)
>I just got a word that oJimB was rewritten in C# recently...
>:)

Nick,

I'm a little new to event binding. Guess I need to GetNewKnowledge()!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform