Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protect/Hide a method programically
Message
De
24/07/2002 13:26:17
 
 
À
21/07/2002 22:16:37
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00680959
Message ID:
00682150
Vues:
23
>>Is there any way to programically protect or hide a method.
>
>As per the help for DEFINE CLASS...
>
[[PROTECTED | HIDDEN] FUNCTION | PROCEDURE Name[_ACCESS |_ASSIGN]
>For example,
>
DEFINE CLASS MyClass AS CUSTOM
>PROTECTED FUNCTION MyMethod
>ENDFUNC
>ENDDEFINE
I hadn't thought about that.
I'm trying to duplicate a form with a lot of objects in it. I hadn't thought about creating a prg file(s) for the form and all the objects in it, then converting the prg file(s) into vcx file(s), then running a prg that puts them all back together. Lot more work than I planned on, but I'll try and remember that next time I need to do something like this.
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform