Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help me hide my exe know how?
Message
 
À
13/10/2000 10:43:32
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:
00429200
Vues:
19
>>JimB,
>>
>>Rest assured... Your key is unique..
>>
>><g>
>
>Doug,
>
>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 Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform