Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Intellisense to pick PEMs, how to?
Message
De
18/09/2010 14:21:07
 
 
À
17/09/2010 05:26:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01481557
Message ID:
01481761
Vues:
59
I use this a lot....

However, in order for it to work while you are writing code, don't you have to make sure you have the Classlib active in which the class resides? (i.e. Set Classlib to 'MyClassLib.vcx') Otherwise, it cannot find the class to know what its properties are.

I know you can also reference the classlib on the same line, like this:
Local loObject as 'classname' of 'c:\lib\MyClassLib.vcx'
or, if the active path at design time includes the path to the lib, you can use:
Local loObject as 'classname' of 'ClassLib'
.

>>All my forms has a property called oAbcObject.
>>All my forms when being instantiated, they always create an object from the same ABC class and assign its reference to the oAbcObject property as mentioned.
>>
>>I want to make VFP intellisense prompting me picklist of oAbcObject's PEM when I type the last '.' as below:
>>
>>Thisform.oAbcObject.<-- here 
>>
>
>If I work on a special .oXXX a lot, I declare an additional
>*-- Intellisense will work on loXXX
>local loXXX as MySpecialPropertyclas
>*-- can be made Runtime-workable as well...
>*-- and later refactored either into thisForm.oXXX or .oXXX or even . 
>loXXX = thisForm.oXXX
>
>Not ideal, but workable ;-)
>
>HTH
>
>thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform