Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1001 Things, xFrmMgr class, how do I use the parameters?
Message
From
21/11/2002 11:27:07
 
 
To
21/11/2002 11:03:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00724352
Message ID:
00725281
Views:
20
Margaret,

The parameter itself is only visible in the init() method of the form. If you need it to persist longer than that, you can save it to a custom property of the form (if you don't know how to add a property to a form, just ask).

For example, let's say you want to pass a customer name to a form:
* init() method of form
lparameters lcCustomerName

this.customerName = lcCustomerName
Now, from anywhere inside of the form, you can see thisform.customerName.

HTH.

>I do have the sample code working and I now have forms working that are being run by the manager. What I am asking is once I am inside a form that is being managed by the xFrmMgr class, and which is has xFrmStdManaged as a parent class, how do I use the parameters that the class passed in when it created the form. Say I pass in a parameter that is a badge number and now I want to show it on the screen in a text box, how do I access that parameter? when can I access the parameter, does it have to be after the init?
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform