Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the property from another form
Message
 
 
To
31/01/2014 12:52:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592768
Message ID:
01592771
Views:
50
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform