Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object list
Message
De
20/11/2000 09:25:22
 
 
À
20/11/2000 04:31:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00443554
Message ID:
00443594
Vues:
12
>When i Create a form which contains several objects, is it then possible in my program to see the names of the objects on my form ?
>
>
>Thanks

Yes. You must use the full object path to the object. e.g.,

** from the form
lcLast = this.txtLastName.Value

** from another control
lcLast = thisform.txtLastName.Value
* or
lcLast = this.parent.txtLastName.Value

** to a control in a container
lcLast = thisform.Container1.txtLastName.Value


Also, to see a full object path, you can right click in the method code window and select Object List. When you select an object from the list, the full path is inserted into the code.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform