Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MTS and Methods
Message
 
 
À
14/07/2000 17:21:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00392268
Message ID:
00392974
Vues:
8
Excellent point, Ed,

Rick

>>Sounds like you need to use protect any properties or methods you do not want to visible.
>>
>>DEFINE CLASS MyCOMObject AS LINE OLEPUBLIC
>>PROTECTED Height, Width, ....
>>ENDDEFINE
>>
>
>Actually, better HIDDEN than PROTECTED for the public properties, methods and events that should not be presented (HIDDEN items will not be presented to subclasses of a class with HIDDEN items), and add
>
>NODEFAULT
>*
>
>to the public events and methods which should not fire when triggered, especially using a UI thing like a Line for the base class.
>
>>>Dear all,
>>>
>>>I have a multi-use com dll and installed in Win2k MTS(Com+). The problem is that I am seeing a lot of other methods appearing like Controls, Datasession, name and whole host of them. I build my class using code (not class library) and insert it in the project file (this is the only file). The wierd thing is that two project dlls shows different extra methods.
>>>
>>>FYI, the class I build is very simple. One class with one method only.
>>>Where did I go wrong? Thanks.
>>>
>>>
>>>Regards,
>>>Kueh
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform