Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PARAMETERS: Passing form object to programs
Message
From
24/03/1997 12:05:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
PARAMETERS: Passing form object to programs
Miscellaneous
Thread ID:
00025411
Message ID:
00025411
Views:
59
I would like to pass the name of the form to a program so I can reference the properties of the form from the program. Example:

Let's say in the form:
thisform.prpUserName="FRED"

THISFORM.BttnOK.Click()
DO prg1 WITH thisform


* prg1.prg
LPARAMETERS p_App
WAIT WINDOW p_App.prpUserName

I was going to post this as a question ... how to do it. But I tried it and it works as is. Figured I might as well post the message anyways.

Gene Berger
Nationwide Warehouse & Storage
Columbus, OH
Next
Reply
Map
View

Click here to load this message in the networking platform