Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need your answer??
Message
De
29/03/2006 08:53:03
 
 
À
28/03/2006 17:55:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01108497
Message ID:
01108759
Vues:
16
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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform