Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for presence of an object
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00612283
Message ID:
00612924
Views:
27
Hi Dave,
Look at the Sessio nobject in the VFP help. You will see a number of properties (e.g. BaseClass, Class, etc.). However, if you make that same class an OLEPUBLIC class and create a COM server out of it, those properties do not show up in the type library. They are automatically hidden from the type library.

When you create a class based on something other than a Session object, you manually have to configure each property/method you want hidden by naking it Protected/Hidden. This was one of the enhancements for VFP 7.

>Hi Larry,
>
>When you say that the session object does this automatically, do you mean that it does it just because it defines fewer properties in its base class? (i.e. It doesn't have certain properties becuase it has no visual representation). Or do you mean something more?
>
>Thanks
>-Dave
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform