Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property Value from class form
Message
 
 
To
22/01/2003 08:17:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00744190
Message ID:
00744254
Views:
6
This message has been marked as the solution to the initial question of the thread.
Yashodhan,

Do you have the expression below as the value assigned on the property sheet?

If so this expression will be evaluated only the first time any form derived from this class is instantiated, every other form will get the value from this first instantiation.

If you want the value to be properly evaluated every time a form instantiates you should move that evpression into the Init() method of the class.

>If I create a property in the class form and assign the value to it, I am not getting that value in the form created with this base form. I am assigning the following value with the help of expression builder.
>
>= IIF ( LEFT( FULLPATH(“PURCHASE.EXE”), 8) = “C:\USERS”, “C:\USERS\DBFS”, “INVALID PATH”)
>
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform