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
07/02/2006 10:21:46
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:
01094268
Vues:
10
I'm glad it worked for you. The reference in help is the local command but I got this tip from a conference somewhere.

>Hi James,
>
>Interesting, I wasn't aware of this, it works fine. Thanks.
>BTW, do you happen to know if this is documented in VFP9 help, I couldn't find it?
>
>
>
>>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
Répondre
Fil
Voir

Click here to load this message in the networking platform