Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknown Member
Message
De
15/10/1998 06:45:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00147055
Message ID:
00147068
Vues:
38
>Thank you very much. When I placed the textboxes on the form originally a "1" was added to each name ie IntCost1 etc although the field in the table is called IntCost. If I remember correctly I were unable to change the name on the form. In the object list the correct name is "THISFORM.IntCost1" etc.
>
>I must use "THIS" in an object that has the focus and "THISFORM" in a method that does not have the focus. Is my assumption correct?
>
>Thanks again for your help. It is really appreciated.
>
>Petrus.

Hi again

You can shance object names to whatever you want after you drop them on your form, see properties sheet, "Name"

With "THIS" you're calling a method/property of the object you're on at the moment, i.e. if it's a form's method you can use it to call another of that form's methods/events, same goes for objects on the form

With "ThisForm" you call form's method no matter where it is called from.
Danijel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform