Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WITH xxx AS
Message
 
 
À
11/03/2008 13:40:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01300971
Message ID:
01300976
Vues:
11
>This construction was shown at a local user group meeting. I don't work much with VFP 9 so I wasn't aware of it.
>LOCAL ox AS excel.application
>ox = createobject('excel.application)
>ox.   ---> drops down the intellisense list of properties, methods
>
>This can be extended to
>abc = thisform.myControl
>WITH abc AS myClass of myClassLib
>.   --->drops down the intellisense list of properties, methods
>
>
>What I haven't figured out (and hope that it exists) is how to work with ThisForm. Say I'm working in the form designer and have added some properties and methods. How can I do
>tf = thisform
>WITH tf AS ??????????
>.  ---> and see all the properties, etc including the ones I added in the designer
>
>I hope the question is comprehensible. All responses appreciated.
>
>.........Rich

If this is in designer, then with thisform would work fine.

If you're writting this in code, then

with thisform as Form
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform