I see Hilmer already helped you. Can you post your code in the command button click? For instance, assume that you have three contols on the form named:
text1
command1
label1
You could handle it a couple of ways. As the user types in the textbox, you could put your code in the textbox valid or lostfocus or interactivechange to store the value typed to the label's caption. For instance, in the textbox lostfocus:
thisform.label1.caption = this.value
assuming the value entered in the textbox is character. Or since you wrote that you want it to be displayed when the user clicks on the command button, then in the click of the command button put:
thisform.label.caption = thisform.text1.value
then the label will display the value entered in the textbox when the user clicks on the command button.
I think you should start with the solutions example that comes with VFP. There are numerous examples there that will help you get familiar with VFP.
>Thanks a lot Tracy Holzer.
>Look at this Question:
>I have one form.On the Form I have one Command Button and one text box and one Label.
>I want ,when user write in text box and then click on the command button see that text in label.
>Finally, I want this Form to .exe file.
>I do but and write this file on the cd, at run time I do not my form.Why?
>Please Explain Step by step.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"