Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property Value from class form
Message
 
 
À
22/01/2003 08:17:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00744190
Message ID:
00744254
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform