Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public Variable in the form
Message
From
09/07/2001 09:40:27
 
 
To
09/07/2001 09:35:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528073
Message ID:
00528077
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
Hi,
Add a property to the form. You can then assign the value to the property in the form's init():
*-- form.init()
ThisForm.SomeProperty = "MyValue"
You can then access this value from anywhere in the form like this:
ThisForm.SomeProperty
HTH
>Hi Everybody,
>
>How can I declear a veriable in the beginning of the form so that I can use it anywhere in the form? In Forpro 2.6 for dos, it was very easy. I used to assign some value to the veriable in the beginning of the program and I could assess it anywhere. How to do this in VFP Form?
>
>Thanks in advance
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform