Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I put the code??
Message
 
À
21/11/1996 14:00:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00013033
Message ID:
00013036
Vues:
38
>>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?

It is stored to cUserName in my PUBLIC nonvisual application.

>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

I have tried this with no luck. this.cUserName displays it as well as oApp.cUserName. The value is out there, I'm just having difficulty assigning the value to display in my textbox.

Jon
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform