Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to refer to parent object within a WITH clause
Message
De
28/01/2008 05:39:26
 
 
À
28/01/2008 05:20:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01286005
Message ID:
01286008
Vues:
17
This message has been marked as the solution to the initial question of the thread.
With this as textbox && or another class
Endwith
>A couple of years ago I seem to remember someone at a seminar showing how to reference a parent object within a WITH..ENDWITH clause and still retain the intellisense dropdown. For example
>
>WITH THIS
> .property1.method1
> .property2.method2
>ENDWITH
>
>When typing this in code the dropdown does not reveal the methods of the properties unless it is immediately prefixed with THIS as in -
>
>THIS.property1.method1
>THIS.property2.method2
>
>When the dropdown appears after typing the property. clause.
>
>Am I imagining that this is possible or is there some way to achieve this?
>
>Thanks
>Barry Sutton
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform