Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the property from another form
Message
 
 
À
31/01/2014 12:52:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01592768
Message ID:
01592771
Vues:
53
>>Perhaps someone can help me with this.
>>
>>I have a form, and I have created a new property (in the property dialog) that contains:
>>
>>THISFORM.Oapp.WhichApp
>>
>>which contains the name of the App as found in the the global object.
>>
>>What I want is for when I use THISFORM.Oapp.WhichApp in the property of the form currently being used, to tell me "CurrentAppName" instead of returning "THISFORM.Oapp.WhichApp"
>>
>>Can someone remind me of how I would enter THISFORM.Oapp.WhichApp within the property dialog to make this happen?
>>
>
>Not 100% sure what you're asking, but I think you just need to stick an equals sign in front, so the expression gets evaluated when you instantiate the form.
>
>Tamar

Tamar, usually that does work with the = signs, but not in this situation. I think I will just assign it before the form opens. I was just trying to save a line of code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform