Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory variable
Message
De
05/10/1998 05:18:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00143748
Message ID:
00143796
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform