Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it me, or can the foxpro intellisense be more improve
Message
De
05/02/2006 15:08:31
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01093774
Message ID:
01093797
Vues:
33
This message has been marked as the solution to the initial question of the thread.
Zakaria,

I add this at the top of each of my "define class ..."
#if .f.
local this as <your class> of <class location> 
#endif 
>Hi All,
>
>Foxpro intellisense is called "unique and vast" in comparison to other programming languages (stated by many experienced UT members). But I don't see its uniqueness or vastness, in contrary I think that Foxpro Intellisense has some major shortcomings. I find the most annoying thing that when working with (program) subclasses that I can't get the properties and methods of its parentclasses. For example:
>
>
>
>
>*** Creator of the coverages
>DEFINE CLASS  AbstractCreator as Custom
>
>oCoverages = null
>
>FUNCTION init ()
>	this.oCoverages = NEWOBJECT("Collection")
>	this.CreateCoverages()
>ENDFUNC
>
>*abstract function*
>FUNCTION CreateCoverages()
>
>ENDDEFINE
>
>
>DEFINE CLASS ConcreteCreator as AbstractCreator
>
>FUNCTION CreateCoverages()
>	oLife = CREATEOBJECT("LifeCoverage")
>	this.oCoverages.Add(oLife)
>** After typing "this", I want intellisense to pop up
>** and showing the parent properties and methods, but unfortunately...
>ENDFUNC
>
>ENDDEFINE
>
>
>How are you dealing with this? I can't imagine that you take these things for granted...
>
>Thanks beforehand.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform