Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing objects on a form
Message
From
28/02/2002 05:14:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Referencing objects on a form
Miscellaneous
Thread ID:
00626247
Message ID:
00626247
Views:
44
When I reference an objetc's methods or propeties within a form I use the following method.

Example:
thisform.txtAge.value = 22

I need to be able to reference these methods and proporties of the active from out side of the form. I have code in a program, and I need to update text boxes on the active form. I do not want to copy all this code onto the form, as it is used in other forms. Is there a way that I can access these properties from code inside a program with out having to do the whole copying of code thing to the form.

Thanx,

Stuart
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Next
Reply
Map
View

Click here to load this message in the networking platform