Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense does not work after creating DLL
Message
De
10/06/2002 07:52:43
Setrak Aslanian
Aslan Solutions Inc.
Ottawa, Ontario, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Intellisense does not work after creating DLL
Divers
Thread ID:
00666468
Message ID:
00666468
Vues:
59
Hi,

I create a class 'Class1' that has a property 'prop1' and 'prop2'. 'prop1' is bound to another class 'Class2'. The intellisense works fine in design environment but once compiled, the intellisense stops working after property 'prop1'.

define class Class1 as session olepublic
add object prop1 as Class2
prop2 = 'Hello'
enddefine

define class Class2 as session
prop3 = .f.
enddefine

after compiling and creating the DLL and assuming project name is proj1
ox = createobject('proj1.class1')
typing ox. the intellisense will show you prop1 and prop2, select prop1. the intellisense disappears. Same behavior in VB6. I even tried to make Class2 olepublic but no luck there too.

The tlb file shows that prop1 is a variant type and not a class2 type. Is this another Microsoft feature in the VFP compiler? VB does not have this limitation in its compiler.

If this is a limitation in the compiler, I wonder why Foxpro (even though it has lots of neat features) is always one step behind other Visual Studio applications?

Any ideas???

Thanks.
Répondre
Fil
Voir

Click here to load this message in the networking platform