Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory variable
Message
From
05/10/1998 05:18:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00143748
Message ID:
00143796
Views:
17
>How do I reference what I used to call a memory variable?
>In the valid of 1 object I want to check for something &
>then set a memory variable that I check in the click
>method of another object. Can I set the variable in the 1st
>object by saying lctest = .t.? Then how do I reference this
>variable in the 2nd object?
>
>Thanks.

Hi Jane,
With the form designer open, choose Form from the menu, "New property"
and add a property called "lctest".
This property will now appear in the "Other" tab of the property sheet for the form.
In one object say
Thisform.lctest= .T.
The property is visible in all objects contained in the form using Thisform.lctest

Arrays are trickier. Call the property aMyArray[1] when you name it and look at what appears in the properties box.

HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform