Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I put the code??
Message
De
21/11/1996 14:00:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00013033
Message ID:
00013034
Vues:
37
>I have a text box that is disabled and I wish it to display the contents of a memory variable. With debug window open and this.cUserName displays the contents, but I cannot figure out where to put the code to make it display in the text box. Tried *=this.cUserName* in the value but no go, also tried it in the control source, init of the form...etc. Any ideas?
>
>Jon

Where are you setting the variable?
In the portion of the code that you are setting the variable, you can just assign that value to the text field
eg.
ThisForm.txt_MyTextBox.value = This.cUserName

Hope this helps,

Antonio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform