Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense on Interfaces
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Intellisense on Interfaces
Divers
Thread ID:
00798094
Message ID:
00798094
Vues:
58
Is there a way to get Intellisense to kick on on COM classes that are only defined by interface? For example, a COM class where you call a method and it returns an object to you. The class of the object doesn't show up as an individual class, only as a interface. This doesn't seem to work:
LOCAL loSomeObject AS MyCOM.Class, ;
      loReturnObject as MyCOM.ISomeInterface

* Intellisense works on loSomeObject
loSomeObject = CreateObject("MyCOM.Class")

* Intellisense doesn't work on loReturnObject
loReturnObject = loSomeObject.GetReturnObject()
As a secondary question, why doesn't the Intellisense Manager let me browse for a DLL/OCX/TLB? The Object Browser does. It's almost always easier for me to just browse for a specific file than pick it off the (huge) list, especially since I normally don't know what kind of description it will show up as (Company name plus component, component name only, abbreviation of company, etc.).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform