Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using variables
Message
 
To
08/10/1998 09:04:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00144971
Message ID:
00145007
Views:
34
Dennis --

Here's ONE way to do it:

1. Create a property in the form -- call it something like fcMyPath.
2. Bind the text box control to that property (set the ControlSource to ThisForm.fcMyPath).
3. If your path-handling code resides in a method within the form, then you can refer to your path as ThisForm.fcMyPath.
4. If your path-handling code resides somewhere outside the form, then you can refer to fcMyPath by qualifying it with the form name -- myformname.fcMyPath, for example.

HTH -- Bill

>I want to store a variable in a text box on a form as in a default path and have the user change it to a chosen path. I want to use this chosen path to set a default path and run some code. I would appreciate some ideas on this.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform