Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide properties and method for VB dev...
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00634565
Message ID:
00634574
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform