Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide properties and method for VB dev...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00634565
Message ID:
00634574
Vues:
21
>I like to hide properties and method in my com.
>How do I do this when my com is in a prg?

The following works for me:
DEFINE CLASS BaseObject AS Custom

   HIDDEN BaseClass
   HIDDEN Class
   HIDDEN ClassLibrary
   HIDDEN Comment
   HIDDEN ControlCount
   HIDDEN Controls
   HIDDEN Height
   HIDDEN HelpContextID
   HIDDEN Left
   HIDDEN Name
   HIDDEN Objects
   HIDDEN Parent
   HIDDEN ParentClass
   HIDDEN Picture
   HIDDEN Tag
   HIDDEN Top
   HIDDEN WhatsThisHelpID
   HIDDEN Width

   PROCEDURE Release
      RELEASE This
   ENDPROC
ENDDEFINE
You can do this with methods and events as well. Of course if more PEMs are added in future VFP releases, then I have to add more hidden PEMs.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform