Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A function to use ThisForm. etc
Message
 
To
29/11/2000 16:04:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00447015
Message ID:
00447020
Views:
12
Sure John,

There are several ways to accomplish this. One quick way is to pass the form to the procedure as a parameter. i.e. DO MyProcedure WITH ThisForm. Put a parameter at the top of your procedure, something like toCallingForm. Now you can use the form in your procedure, example: toCallingForm.Caption = "Procedure changed this."

HTH
Marty


>I need to write a function that i can call that addresses object properties, but VFP tells me that ThisForm. etc can only be used in object methods. is there a work around??
>tia - john
Marty Smith, CSQE
Previous
Reply
Map
View

Click here to load this message in the networking platform