Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where do I put the code??
Message
 
To
21/11/1996 14:00:05
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00013033
Message ID:
00013036
Views:
34
>>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform