Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown Member
Message
From
15/10/1998 06:45:58
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00147055
Message ID:
00147068
Views:
36
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform