General information
Category:
Forms & Form designer
Title:
PARAMETERS: Passing form object to programs
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only