Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which comes first
Message
 
 
À
26/01/2004 12:12:31
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00870624
Message ID:
00870683
Vues:
11
Joel,

> store a value to a memvar and use trhat memvar as teh control source for a text box.

Instead of using a memvar, use a form property instead. From the form menu, Add Property and use a meaningful name. Then in the Load you can:

thisform.YourPropertyNameGoesHere = table.field

on the textbox set its DataSource to thisform.YourPropertyNameGoesHere on the property sheet.

This will keep your form much better encapsulated than by using a memvar which would need to be declared public in your load method or created as a private by the code that calls your form.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform